Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug or Feature?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00177070
Message ID:
00177448
Views:
32
Hi John,
I know where the reference to MASTER comes: the view on which the grid is based goes like this.
select ... from DETAIL where DETAIL.idmaster = ?MASTER.id

But nothing else references MASTER. The table is opened with tha alias mt_MASTER and all the methods that move the form refer to mt_MASTER. To move a record the toolbarbar does something like
skip in mt_MASTER
thisform.RefreshGrids()

RefreshGrids is a simple method that goes through the grids in a form issuing a series of requeries and refreshes.

What I would like to know is why moving a record in mt_MASTER, with also MASTER opened in the DE produces a correct result. Nothing, other than the wher clause in the grid is referencing MASTER so, the table shoud open on a record, let's say the first, and stay there. And it stays there.

Thanks for the interest. This is the sort of problem that really keeps me awake, more than when a program is not working. This one shouldn't work but it does. It is even more disturbing to me than an ordinary bug. To me is a sort of an alarm bell that indicates that there is some seriuos mistake that if not caught now it may reappear and go undetected for ages. And I like to solve this kind of problem too, if i can...

==============================================================================
Somewhere on the form, probably in the ControlSource - or perhaps a rowsouce in the case of List/Combo or the Recordsource in the case of a grid, is referencing MASTER as an alias. Check through the controls and these properties, and it should popup. Also, check the code for any references to MASTER.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform