Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Mike Gagnon
  Where is Mike Gagnon?
 Pointe Claire
 Canada
 Mike Gagnon
 To: Gerrit Masee
  Where is Gerrit Masee?
 Groningen
 Netherlands
 Gerrit Masee
 Tags
Subject: RE: "binding" two comboboxes
Thread ID: 112223 Message ID: 112233 # Views: 4 # Ratings: 0
Version: Visual FoxPro 9 Category: Forms
Date: Monday, November 06, 2006 1:43:25 PM         
   


In the first combo lostfocus (or valid) call the requery of the second combo, applying proper filter based on the selection of the first combo.


> Hi all,
>
> Maybe an easy one, but I am puzzled some time on this.
> I have a table "medications" with 2 field: "brandname" and "genericname".
> I have a grid with 2 collumns, each with a combobox.
> Now this is what I want: when the user selects a brandname, the combo with the genericname has to change as well
> and vice versa.
> Any ideas on how to achieve this?
>
> Thank i.a.
> Gerrit Masee
>
>
> Hmm, found the solution myself: with the Listindex property!
> Gerrit




Mike Gagnon


ENTIRE THREAD

"binding" two comboboxes Posted by Gerrit Masee @ 11/6/2006 12:35:43 PM
RE: "binding" two comboboxes Posted by Mike Gagnon @ 11/6/2006 1:43:25 PM
RE: "binding" two comboboxes Posted by tushar @ 11/6/2006 2:02:02 PM