Adding a TON of text to a report

Code:
=DLookUp("TCVersion","TermsAndConditions","ID=1") & " updated on " & DLookUp("TCVersionDate","TermsAndConditions","ID=1")

The "[" and "]" tell it to prompt for parameters.

You should also be able to use & vbCRLF & to add a carriage return if required.
 
Look like you spelling something wrong.
If you have
1) a table/query named TermsAndConditions
2) two fields in this table named TCVersion respectively TCVersionDate
3) another field in this table named (as simple as I see) ID
should work.
Is TermsAndConditions a table or a query ?
What parameter Access is asking for ?
 
Ups. Sorry. I don't see that parentheses. I see only the second "=".
 
Once you concatenate fields, is there any way to get the date format to LONG DATE instead of SHORT DATE which seems to be the default? If not, I can certainly live with this. Thank you everyone for your help.
 
Would that be like this?


Code:
& Format (DLookUp("TCVersion","TermsAndConditions","ID=1") & " updated on " & DLookUp("TCVersionDate","TermsAndConditions","ID=1") ,"Long Date")
 
No. Just around the date part.

Code:
=DLookUp("TCVersion","TermsAndConditions","ID=1") & " updated on " & Format(DLookUp("TCVersionDate","TermsAndConditions","ID=1"), "Long Date")
 
Haha, that explains a lot. Thank you again for all of your help.
 

Users who are viewing this thread

Back
Top Bottom