Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What to do after closing a database
Message
De
05/02/2001 02:28:15
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
04/02/2001 23:24:50
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00472391
Message ID:
00472399
Vues:
25
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform