Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'SET' commands causing record pointers to move
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00512723
Message ID:
00512793
Vues:
7
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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform