Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Someone wants help me? (I'm VB dev)
Message
 
 
À
26/10/2000 15:29:49
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00434735
Message ID:
00434852
Vues:
22
I do not know what your particular needs are, but, in general, tables are not packed everytime a record or group of records are deleted. Our apps usually have a setting of SET DELETED ON that hides deleted records in our tables. Our apps usually have a maintenance function that packs tables during off-times and is usually performed by the manager of the app.

If you check with the developer of the VFP database and app, you may find that packing is not needed.

>Thanks for the hyperlink. Maybe you can check this:
>I tried the following code:
>
>Private Sub Command1_Click()
> 'de is a DataEnvironment
> 'con is a ADODB.Connection
> de.con.Open
> 'Next instruction is like the C instruction on the hyperlink
> de.con.Execute "SET EXCLUSIVE ON;PACK inmuebac"
>End Sub
>
>I get an error: "File is in use".
>The error is returned by ODBC Microsoft Visual FoxPro Driver.
>The file is closed, and I didn't open it before the code above.
>
>Any help from you will be useful!!!
>
>Thanks again.
>
>
>glurrea
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform