Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Relational records between Grids and Comboboxes
Message
 
 
To
10/02/1999 20:33:42
Marcelo Codino
Mystic & Faith - Sistemas -
Buenos Aires, Argentina
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00186339
Message ID:
00186360
Views:
16
>I have a combobox and a grid in my form.The combobox contains Clients and the grid contains payments of each client.Each one can be more than one payment.Both controls(combobox and grid) are relationed.I just set ChildOrder, LinkMaster and RecordSource in my Grid.Now, the question is how can I do when I skip in the toolbar to the next record top, last, etc.for each payment appears only with the corresponding client?

So what you are saying is that you want to choose a client either by choosing that person with the combo box or my using top,prev,next,last buttons on the toolbar? If that is what you want to do:

The toolbar should call the movetop,moveprev,movenext,movelast events in the form. You will need to define these.

For example, the forms movetop event would have:
select Clients     && select the parent table
goto top           && move to the top record
thisform.refresh   && refresh the form
Was this was what you were asking?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform