Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record pointer not moving properly
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00942906
Message ID:
00943033
Views:
19
Why are you refreshing the grid there? Are you adding, modifying, or deleting records to the table in the grid when focus is off the grid?


>I will try changing the position of NODEFAULT. I can't trace, because it works when I trace. I put some wait windows to show that the PARTS table is on the correct record when I first move from the List tab to the main tab. And it is on the correct record when I move to another record using the Inspect This Part feature, so when I click back to the List tab, it should be on that part. And it is at first, however in the Activate method of the List tab I refresh the grid on the List tab (the grid is the only control on that tab). Immediately after that refresh the record pointer changes to the incorrect record (and it always seems to the be record that was displayed in the first line of the grid when I initially left the List tab).
>
>Russell
>
>>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?
.·*´¨)
.·`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"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform