Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
*Refreshing* a Remote view
Message
 
To
25/11/1996 18:30:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00013470
Message ID:
00013487
Views:
29
> I am inserting into SQL Server via a remote view. > > I am issuing TABLEUPDATEC) after every action but it keeps returning ".F." > > The record is inserted and it seems to be fine in SQLServer but the unique numeric key "ID" field that is automatically inserted by the SQLServer is always showing up in my view as "0" (when I BROWS > until I close the view and open it again then that field displays the coerrect numbers. > > I feel that I have to "refresh the view" somehow to get a ".T." from TABLEUBDATE(.T.,.T.) > > Any clues folks, if you need more details let me know. Are you also using transactions in addition to buffering? Do you have any trigger code in the remote table? What buffering scheme are you using? FYI, I assume you are using the identity clause in SQL server to generate your unique numbers, you can query this by SELECT @@Identity. Scot.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform