View Single Post
  #1 (permalink)  
Old September 11th, 2006, 08:05 PM
probitaille probitaille is offline
Registered User
 
Join Date: Sep 2006
Location: Rockdale, NSW, Australia.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Linking an unbound subform

I know this is probably not the best plan, but I need to link an unbound subform to some values contained in a listbox selection on the main form. The reason why I am using an unbound subform is that I want to control how the user adds/edits/navigates the records (using proper command controls).

I would like to link the subform programmatically to the main form (or the values selected in the list box). Based on the list box selection (and the values of Column(0) and Column(3)), the subform should be populated with the records from a table (tblOptions) containing fields with values equal to Column(0) and Column(3) (on the subform, it corresponds to txtExecID and txtCode).

I am currently doing this in DAO; I tried a few different things but none work.

Reply With Quote