Hello,
I am trying to set the control source of a textbox to a line of code in a table. I have a cbx that has "dates" like yesterday, tomorrow, last quarter etc. on the after update i want two hidden text boxes to update with the correct formula that i stored in the table. I have the control source of the text box something like
=dlookup("[FromCode]", "tblDClusters" "[ID] = " & combobox)
it is finding the code ok by I didn't expect it to put in the string of the code and not work through the formula. so "Yesterday" prompts the lookup and the textbox reads =Date()-1 and not 3/24/2016.
thanks for any tips.
I am trying to set the control source of a textbox to a line of code in a table. I have a cbx that has "dates" like yesterday, tomorrow, last quarter etc. on the after update i want two hidden text boxes to update with the correct formula that i stored in the table. I have the control source of the text box something like
=dlookup("[FromCode]", "tblDClusters" "[ID] = " & combobox)
it is finding the code ok by I didn't expect it to put in the string of the code and not work through the formula. so "Yesterday" prompts the lookup and the textbox reads =Date()-1 and not 3/24/2016.
thanks for any tips.