Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
End of Locate Scope problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00258768
Message ID:
00258869
Vues:
76
Ferrell,

If the table you're updating has a lot of rows and don't have an index on the key field(s) you're using to update the table that might be the problem. When you update a remote view, VFP just creates a SQL Update statement and sends it to the back end. If there's no index on the key you're using SQL Server will have to scan the entire table looking for records matching your key expression. If the table is large, that can take a long time.


>I synchronize data from Visual Fox Pro on a client machine to SQL Server on NT4.0. It seems when I have 3 or 4 records and try to save the changes in a remote view it hangs for a long period of time, but it will finally complete with out any appearant loss of data.
>
>Using this command line to save the changes:
> llRetVal = TABLEUPDATE(.T., .T., lcRVTable, 'arr_err')
>
>Where lcRVTable is the view name of the remote view and arr_err is not being populated nor is there any indication of a failure.
>
>Why does it hang for so long?
>
>Ferrell Willis
>fwillis@att.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform