Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo display incorrect for first record in grid
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00046859
Message ID:
00046929
Views:
23
>>Greetings. I am having some difficulty getting the first record in a grid to display properly. All columns are ok except for the one that contains a combo box. This column is blank. All columns in records two through four display properly.
>>
>>Has anyone seen behaviour like this? Thank you.
>
>Hi Mark,
>
> I have seen behaviour like this quite often, but for me was related to using relations. I found that the relations would get out of sync at some point during the creation of the form and it only recovered once it updated the second record in the browse. My patch was to SELECT the related table and then select back to the main table in the refresh of the form and that resolved the problem partially.
>
>I have found a definite culprite for messing up relations. If you have a view in your data environment that is loaded with NODATA it will desyncrhonized relationships on tables that make up the view.
>
>Hope this helps a bit. Let us know if you find a solution.
>
>Darrel

Wow, this forum is great! Thank you for your response.

I solved it by placing a "LOCATE" before the grid refresh. I had tried selecting the linked table then reselecting the parent previously. "GO TOP" also worked. wierd.
----------
Mark Bucciarelli
Previous
Reply
Map
View

Click here to load this message in the networking platform