Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What to do after closing a database
Message
From
05/02/2001 02:28:15
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
04/02/2001 23:24:50
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00472391
Message ID:
00472399
Views:
27
>Dear all,
>
>I design a project in which the forms visit tables by setting all tables at data environment object, which are automatically opened and closed. The setting make the program run smoothly and do job so well.
>
>Recently, I implement a backup/restore routine which is programed as by create an WSH object and calling WINRAR to do the job. In order to backup and restore the data, at the opening of my routine codes I close the databases. After the routine is over, the control return to the form the routine called from. I cannot visit the tables with the error message "cannot find allias "XXX"".
>
>What wrong have I done? and how can I do that jod?
>
>
>
>Yours faithfully,
>Ransome

Use form.Dataenvironment.CloseTables and OpenTables to unload-load DE.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform