A
Andy G
I have a main form ''frm1'
I have a search form 'frmsearch' with 2 comboboxes
'cbo1' has the row source of 'tbl1' fields
'cbo2' lists the records of the field chosen in 'cbo1'
'cbo2' has 2 columns, one of which is hidden (ListID) ' ListID is the
Primary Key (numeric) for 'tbl1'
I have a select button which, when pushed, should pass ListID (hidden) from
'cbo2' to the 'frm1'
'frm1' should then open up the record chosen in 'cbo2' by using ListID
Could anybody advise me on how to achieve this, I have managed to do exactly
what I want using
DoCmd.OpenForm "frm1", , , "[ListID]=" & Forms!frmsearch!cbo2 but this
filters the records, whereas i only want to jump to the record chosen by
'cbo2'
Any ideas?
Many Thanks
Andy
I have a search form 'frmsearch' with 2 comboboxes
'cbo1' has the row source of 'tbl1' fields
'cbo2' lists the records of the field chosen in 'cbo1'
'cbo2' has 2 columns, one of which is hidden (ListID) ' ListID is the
Primary Key (numeric) for 'tbl1'
I have a select button which, when pushed, should pass ListID (hidden) from
'cbo2' to the 'frm1'
'frm1' should then open up the record chosen in 'cbo2' by using ListID
Could anybody advise me on how to achieve this, I have managed to do exactly
what I want using
DoCmd.OpenForm "frm1", , , "[ListID]=" & Forms!frmsearch!cbo2 but this
filters the records, whereas i only want to jump to the record chosen by
'cbo2'
Any ideas?
Many Thanks
Andy