H
HilcrRWise
I have a combo box that has various statements that when selected cop
on to the end of the value in a memo field. What I want to be able t
do is to reference a different field on a form in one of thes
statements. Eg: a statement in the combo box says something lik
"<<FORENAME>> has worked very hard this year." when this statement i
selected the database should look to see what value is currently bein
shown in the Forename field and the value copied to the memo fiel
should read "Bob has worked...". The 'FORENAME' reference does no
always come at the start or the end of the statement.
Is this possible?
I tried using the replace function on the after update option of th
combo box
Replace([Comment],"<<FORENAME>>",[ForeName])
but kept getting 'Compile Error: Expected: =
on to the end of the value in a memo field. What I want to be able t
do is to reference a different field on a form in one of thes
statements. Eg: a statement in the combo box says something lik
"<<FORENAME>> has worked very hard this year." when this statement i
selected the database should look to see what value is currently bein
shown in the Forename field and the value copied to the memo fiel
should read "Bob has worked...". The 'FORENAME' reference does no
always come at the start or the end of the statement.
Is this possible?
I tried using the replace function on the after update option of th
combo box
Replace([Comment],"<<FORENAME>>",[ForeName])
but kept getting 'Compile Error: Expected: =