P
Proko
Can someone help me out with the syntax for how to do this. I've never tried
this before and I just can't seem to crack it.
I click a button which takes a selected item from one combo box and puts it
in another combo box.
The on click event for the button is:
Call CBF_MoveRight(cbo_From, cbo_To) ' I'm trying to pass the actual
combo box names here
The called sub is:
CallCBF_MoveRight(FromCombo as ?????, ToCombo as ?????)
A line in the sub then tries to look at column 0 of the combo.
If Not IsNull ([FromCombo].[Column](0) then........but access appears to be
looking for a combo called "FromCombo" rather than "cbo_from"
I then try to requery both combos and I'm not sure of the syntax for that
either.
Me.FromCombo.Requery 'should behave as Me.cbo_from.Requery
Me.ToCombo.Requery 'should behave as Me.cbo_To.Requery
Any help would be greatly appreciated.
this before and I just can't seem to crack it.
I click a button which takes a selected item from one combo box and puts it
in another combo box.
The on click event for the button is:
Call CBF_MoveRight(cbo_From, cbo_To) ' I'm trying to pass the actual
combo box names here
The called sub is:
CallCBF_MoveRight(FromCombo as ?????, ToCombo as ?????)
A line in the sub then tries to look at column 0 of the combo.
If Not IsNull ([FromCombo].[Column](0) then........but access appears to be
looking for a combo called "FromCombo" rather than "cbo_from"
I then try to requery both combos and I'm not sure of the syntax for that
either.
Me.FromCombo.Requery 'should behave as Me.cbo_from.Requery
Me.ToCombo.Requery 'should behave as Me.cbo_To.Requery
Any help would be greatly appreciated.