I am receiving a data file which has 8-10 discrete pieces of information which I am filing into separate fields. However, I have another field, a 'notes' field into which I'd like to insert literals for each of the data points. i.e. if the customer indicates he/she wants to purchase $250,000 of insurance, I insert 250k into an amount field, but I want my notes field to read "Interested in purchasing 250k of insurance". The trick is, I want to update this note field from several different fields - the above stated amount, a reason for interest, date of birth etc. I do this routinely with code like that shown below, but I do it at the record level - information is entered on a form and the 'file record' button executes the code. In this case, I want to append the records and
then pull the data from the various fields and insert the literals into notes. I don't know how to do it in an update query rather than at the individual record level. What do I put in the QBF grid?
Appnotes = "This is an Lead. " & [CUS_FNAME] & " has requested to speak to an FSR about "
Appnotes = Appnotes & "purchasing additional " & [META_FLD14] & " insurance. "
Appnotes = Appnotes & "The purpose of this insurance is " & [PRD_INT_CMNT] & ". "
Appnotes = Appnotes & Sex2 & " current level of insurance is " & [META_FLD17]
then pull the data from the various fields and insert the literals into notes. I don't know how to do it in an update query rather than at the individual record level. What do I put in the QBF grid?
Appnotes = "This is an Lead. " & [CUS_FNAME] & " has requested to speak to an FSR about "
Appnotes = Appnotes & "purchasing additional " & [META_FLD14] & " insurance. "
Appnotes = Appnotes & "The purpose of this insurance is " & [PRD_INT_CMNT] & ". "
Appnotes = Appnotes & Sex2 & " current level of insurance is " & [META_FLD17]