GirlBlonde
Programmer
hi i have a continued question from my previous post but as it's a bit different i thought i'd start a different thread.
i basically want to requery the cbo box each time someone clicks on the down arrow so they get the latest data.
the cbo box is made up of 2 queries below that are run when they exit the form for adding the new data.
me.refresh and me.requery sets them all to null doesnt keep the data that is already in clears it all out.
am i making sense?
DoCmd.SetWarnings False
DoCmd.RunSQL "DELETE TblTempOnly_PoolContractDrivers.* FROM TblTempOnly_PoolContractDrivers;"
DoCmd.OpenQuery "Qry_AppTemp_PoolDrivers"
DoCmd.OpenQuery "Qry_AppTempTbl_ContractDrivers"
DoCmd.SetWarnings True
Energy & persistance conquer all things!
i basically want to requery the cbo box each time someone clicks on the down arrow so they get the latest data.
the cbo box is made up of 2 queries below that are run when they exit the form for adding the new data.
me.refresh and me.requery sets them all to null doesnt keep the data that is already in clears it all out.
am i making sense?
DoCmd.SetWarnings False
DoCmd.RunSQL "DELETE TblTempOnly_PoolContractDrivers.* FROM TblTempOnly_PoolContractDrivers;"
DoCmd.OpenQuery "Qry_AppTemp_PoolDrivers"
DoCmd.OpenQuery "Qry_AppTempTbl_ContractDrivers"
DoCmd.SetWarnings True
Energy & persistance conquer all things!