G
Guest
I have the two combo boxes where the first one (cbo1) has a rowsource of a lookup table, the second combo box(cbo2) has row source created in the query builder but looks like this
Form name is frm1
SELECT tblCharacteristicsMaster.BS_Type FROM
tblCharacteristicsMaster WHERE (((tblSawCharacteristicsMaster.Mill_ID)
=Forms![frmfrm1]!Mill_ID));
BS_Type is the information needed in cbo2
mill_ID is the info for cbo1
Here is the kicker, everything works great in my logic, it actually works fine after I save it and run it, but as soon as I close the form and open it up again it the logic changes to this:
SELECT tblCharacteristicsMaster.BS_Type FROM
tblCharacteristicsMaster WHERE (((tblSawCharacteristicsMaster.Mill_ID)
=Forms![frmBench]!Mill_ID));
The =Forms![frmBench]!Mill_ID));
changes everytime. It changes the name of the form for some reason, but not the actually name just the query info name.
If anyone has any idea why this might do it and how to fix it or just a better way to do it, please let me know. Thank you in advance.
Steve
Form name is frm1
SELECT tblCharacteristicsMaster.BS_Type FROM
tblCharacteristicsMaster WHERE (((tblSawCharacteristicsMaster.Mill_ID)
=Forms![frmfrm1]!Mill_ID));
BS_Type is the information needed in cbo2
mill_ID is the info for cbo1
Here is the kicker, everything works great in my logic, it actually works fine after I save it and run it, but as soon as I close the form and open it up again it the logic changes to this:
SELECT tblCharacteristicsMaster.BS_Type FROM
tblCharacteristicsMaster WHERE (((tblSawCharacteristicsMaster.Mill_ID)
=Forms![frmBench]!Mill_ID));
The =Forms![frmBench]!Mill_ID));
changes everytime. It changes the name of the form for some reason, but not the actually name just the query info name.
If anyone has any idea why this might do it and how to fix it or just a better way to do it, please let me know. Thank you in advance.
Steve