Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I use VFP buffering when data is in sql server?
Message
From
16/08/2012 12:32:37
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Can I use VFP buffering when data is in sql server?
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
MS SQL Server
Miscellaneous
Thread ID:
01550574
Message ID:
01550574
Views:
97
Building a new VFP application with data in SQL Server, using remote views to access it. Tables have autoincrementing identity field. I am using Codemine framework which takes care of transactions so I am not too familiar with those details.

If data were in dfb tables, I'd use VFP table buffering while user is entering data and when everything is ok do TABLEUPDATE within a transaction so can back out in case of trouble. Even while using buffering, autoincrementing fields are properly incremented by VFP, so parent keys are immediately available to relate child records.

How should I handle this situation when data is in SQL Server? If using VFP buffering, should I use temporary values for autoincrementing fields in order to relate parent and child tables, or is there another way of doing it?

TIA,

Alex
Next
Reply
Map
View

Click here to load this message in the networking platform