Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Relational records between Grids and Comboboxes
Message
 
À
10/02/1999 20:33:42
Marcelo Codino
Mystic & Faith - Sistemas -
Buenos Aires, Argentine
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00186339
Message ID:
00186360
Vues:
15
>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform