| View previous topic :: View next topic |
| Author |
Message |
Alan Guest
|
Posted: Mon May 10, 2004 6:19 am Post subject: DBTables |
|
|
Hi,
I use DBTables to create a table dynamically. To run this program what are the files I need to deploy to clients machine?
Thanks.
Alan
|
|
| Back to top |
|
 |
Mike Shkolnik Guest
|
Posted: Mon May 10, 2004 8:58 am Post subject: Re: DBTables |
|
|
Do you mean the dbtables unit? In this case you must deploy the BDE
--
With best regards, Mike Shkolnik
E-mail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
WEB: http://www.scalabium.com
"Alan" <alprice98 (AT) hotmail (DOT) com> wrote
| Quote: |
Hi,
I use DBTables to create a table dynamically. To run this program what are
the files I need to deploy to clients machine?
Thanks.
Alan
|
|
|
| Back to top |
|
 |
Bill Todd (TeamB) Guest
|
Posted: Mon May 10, 2004 12:41 pm Post subject: Re: DBTables |
|
|
What do you mean by "DBTables"? There is no such component that comes
with Delphi. What data access components are you using?
--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
|
|
| Back to top |
|
 |
Alan Guest
|
Posted: Mon May 10, 2004 1:11 pm Post subject: Re: DBTables |
|
|
I don't use any components. I write the following code in a dll to find corresponding field value (ValueNm).
TempTab := DBTables.TTable.Create(nil);
TempTab.DatabaseName := DBpath;
TempTab.TableName := tabName; //Dbase table
TempTab.Open;
if TempTab.Locate('',SearchValue,[]) then
Result := (TempTab.FieldByName('ValueNm').AsString)
else
Result := '';
TempTab.Close;
TempTab.Free;
The program which I call this dll is working on my pc but not on other pcs. Do I need to install entire BDE on those pcs?
Thanks.
Alan
|
|
| Back to top |
|
 |
Mike Shkolnik Guest
|
Posted: Mon May 10, 2004 4:24 pm Post subject: Re: DBTables |
|
|
You use the TTable class from DBTables.pas unit. This requires the BDE
installed.
--
With best regards, Mike Shkolnik
E-mail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
WEB: http://www.scalabium.com
"Alan" <alprice98 (AT) hotmail (DOT) com> wrote
| Quote: |
I don't use any components. I write the following code in a dll to find
corresponding field value (ValueNm).
TempTab := DBTables.TTable.Create(nil);
TempTab.DatabaseName := DBpath;
TempTab.TableName := tabName; //Dbase table
TempTab.Open;
if TempTab.Locate('',SearchValue,[]) then
Result := (TempTab.FieldByName('ValueNm').AsString)
else
Result := '';
TempTab.Close;
TempTab.Free;
The program which I call this dll is working on my pc but not on other
pcs. Do I need to install entire BDE on those pcs?
Thanks.
Alan
|
|
|
| Back to top |
|
 |
Bill Todd (TeamB) Guest
|
Posted: Mon May 10, 2004 6:51 pm Post subject: Re: DBTables |
|
|
On 10 May 2004 06:11:54 -0700, "Alan" <alprice98 (AT) hotmail (DOT) com> wrote:
| Quote: | The program which I call this dll is working on my pc but not on other pcs. Do I need to install entire BDE on those pcs?
|
You are using the TTable component and a dBase table and that requires
that the BDE be installed.
--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
|
|
| Back to top |
|
 |
Alan Guest
|
Posted: Tue May 11, 2004 5:46 am Post subject: Re: DBTables |
|
|
Thanks for the information. To install BDE on clients do we need license?
Alan
|
|
| Back to top |
|
 |
Andrew Skinner Guest
|
Posted: Tue May 11, 2004 6:43 am Post subject: Re: DBTables |
|
|
No, you can deploy it as part of your Delphi license, using an approved
installation tool ONLY. There is a pretty obviously named *.txt file about
this, but I can't recall the exact name.
Build an installation using installshield or look at
http://ibinstall.defined.net/dl_bdeinfo.htm where you can get a complete
installation and a program which checks the installation.
Andrew
"Alan" <alprice98 (AT) hotmail (DOT) com> wrote
| Quote: |
Thanks for the information. To install BDE on clients do we need license?
Alan
|
|
|
| Back to top |
|
 |
Alan Guest
|
Posted: Tue May 11, 2004 10:19 am Post subject: Thanks all. - Re: DBTables |
|
|
"Andrew Skinner" <skinnner (AT) getridofthisbit (DOT) summerfld.demon.co.uk> wrote:
| Quote: | No, you can deploy it as part of your Delphi license, using an approved
installation tool ONLY. There is a pretty obviously named *.txt file about
this, but I can't recall the exact name.
Build an installation using installshield or look at
http://ibinstall.defined.net/dl_bdeinfo.htm where you can get a complete
installation and a program which checks the installation.
Andrew
"Alan" <alprice98 (AT) hotmail (DOT) com> wrote in message
news:40a068c6$1 (AT) newsgroups (DOT) borland.com...
Thanks for the information. To install BDE on clients do we need license?
Alan
|
|
|
| Back to top |
|
 |
Bill Todd (TeamB) Guest
|
Posted: Tue May 11, 2004 2:06 pm Post subject: Re: DBTables |
|
|
DEPLOY.TXT
--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
|
|
| Back to top |
|
 |
|