Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record pointer not moving properly
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00942906
Message ID:
00943017
Vues:
17
Just curious, does it make a difference whether NODEFAULT is issued first or last in your IF...ENDIF? Also, if you trap (from the point of hitting enter and this point on) when the record number in the main table changes - when does it occur? Verify the value is correct and the record number when you press ENTER and then see when the record number changes in that table specifically. You do not have any relationship setup between the two tables in the dbc right?

as to the UG, we do not have one and since I do not know of any other VFP developers (other than those I worked with on Fort Bragg and those I work with now and NONE of them even visit forums online let alone attend a UG meeting) who would be interested, it doesn't look like a UG will occur here anytime soon.


>>Yes I have seen this too so I would be very interested in seeing the culprit when it is determined. To resolve it for myself, we store the record number in a form property and whenever focus returns to the grid's page we reposition the record pointer if it has changed.
>
>At present, my testing is showing this: After speed searching for the desired part on the List tab, if I press Enter the following code executes:
>
>
>if nKeyCode = gnEnter
>	thisform.LastListCol = this.parent
>	thisform.pgfParts.ActivePage = 1
>	nodefault
>endif
>
>
>If, instead of hitting Enter, I simply click on the main tab to activate it, the form works as expected (when moving back to the List tab the correct record is displayed - the same one as is displayed on the main tab). So what in that code could cause this issue? Still investigating . . .
>
>Was it you that was starting the UG up there? How's it going?
>
>Russell
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform