Hi,
I'm pretty new to access, so this may be quite easy but I just can't get it. Situation as follows.
I have a split form for Inventory (InventoryF) that has a combo box that allows me to select a Trailer number, then the contents of the trailer are displayed.
I have a second form for Trailer/Vehicle information (VehicleF) that shows license numbers, etc.
I would like to use an event procedure on a double click event (or if there is a better suggestion than double click, I am all ears), in the VehicleF that will open the InventoryF and set the combobox to whatever I double clicked on. (i.e. double click on Trailer 1 in the VehicleF, and it opens InventoryF to Trailer1).
Just opening the form is real basic (DoCmd.OpenForm "InventoryF"). But setting the combo box, I've failed. I tried:
DoCmd.OpenForm "InventoryF", _
WhereCondition:="cboTrailer=" & Me.TrailerName
(cboTrailer is my combo box on InventoryF, and TrailerName is the corresponding name on VehicleF)
That returns a Syntax Error (3075) saying I have a missing operator. I tried a slew of other things too. Any help is appreciated. Thank you!