Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update keyfield in a remote view
Message
From
05/03/2004 09:39:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Update keyfield in a remote view
Miscellaneous
Thread ID:
00883452
Message ID:
00883452
Views:
45
Hi,

I've a sqlserver (isnt that great ?) with a table. In this table there is one field that is an identity field and is set to auto-numbering. This table is viewed via a grid in a visual foxpro form.

The user can create/delete/modify the data via this grid. Buffering is set to optimistic row buffering.

The keyfield that is set to auto-numbering in the sqltable is set to readonly in the grid.

The problem is that when a user has created a record that the keyfield stays empty. So we have to do a requery to update this field in the view.

That is not so good because afther te requery the recordpointer isnt at the right record (the one last created).

So here is my question : is it possible to get the right value for that keyfield in the grid without doing a requery and losing the focus on the good record ?

Thnx
Next
Reply
Map
View

Click here to load this message in the networking platform