Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread DBISAM stRemote
Thu, May 31 2007 3:32 AMPermanent Link

"Andrew Hill"
From a RemoteSession how do I get the table names within a Database (please
show in code) ?

Thanks in advance.

Andy

Thu, May 31 2007 1:34 PMPermanent Link

"Robert"

"Andrew Hill" <andyhill@axfite.com.au> wrote in message
news:E399F048-10D1-493E-8E25-09B4F702E26D@news.elevatesoft.com...
> From a RemoteSession how do I get the table names within a Database
> (please show in code) ?
>

var Tables : tStringList;
.....
Tables := tStringlist.Create;

 MySession.GetTableNames (MyDatabase.DatabaseName,   Tables);

Robert


Thu, May 31 2007 3:34 PMPermanent Link

"Andrew Hill"
Thanks Robert.

Can you tell me where the backup files are created:-

DBISAMDatabase1.Backup('BackUp', 'C:\Data\Friday', 6, Tables)

Above code returns true but I cannot find the backed up files ?

Regards
Andy

"Robert" <ngsemail2005withoutthis@yahoo.com.ar> wrote in message
news:4E51DC6E-D4B6-4402-9DDA-0A843B8F18FA@news.elevatesoft.com...
>
> "Andrew Hill" <andyhill@axfite.com.au> wrote in message
> news:E399F048-10D1-493E-8E25-09B4F702E26D@news.elevatesoft.com...
>> From a RemoteSession how do I get the table names within a Database
>> (please show in code) ?
>>
>
> var Tables : tStringList;
> ....
> Tables := tStringlist.Create;
>
>  MySession.GetTableNames (MyDatabase.DatabaseName,   Tables);
>
> Robert
>
>
>

Thu, May 31 2007 5:16 PMPermanent Link

"Robert"

"Andrew Hill" <andyhill@axfite.com.au> wrote in message
news:AE2FD6B2-6CFE-49D9-8F77-C49E4247DB4A@news.elevatesoft.com...
> Thanks Robert.
>
> Can you tell me where the backup files are created:-
>
> DBISAMDatabase1.Backup('BackUp', 'C:\Data\Friday', 6, Tables)
>

Unfortunately, DBISAM requires you to pass a folder path RELATIVE TO THE
SERVER. So your backup will be in the server. BTW, it is good practice IMO
to use an extension on the backup file.

Robert


Image