Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'SET' commands causing record pointers to move
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00512723
Message ID:
00512793
Views:
6
Hi,

Here are some more details:

The only record pointer that is moved is the record pointer which is also the dataSource for the grid on the form. The form has two pages. The second page contains a grid which shows all of the values in the table.

I've found that by adding a 'begin transaction' txnlevel() != 0. This allows me to add the following code to beforeRowColChange() and afterRowColChange().

Here is the code I've added to both beforeRowColChange() & afterRowColChange():

IF TXNLEVEL() = 0
DODEFAULT(nColIndex)
ENDIF

If no action is taken in the beforeRowColChange() and afterRowColChange() than the record pointer will move back to its proper location.

Has anyone noticed this problem before?
Previous
Reply
Map
View

Click here to load this message in the networking platform