Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

This is an EASY One for all you Experts

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Please help out this novice VBA user!!!!

We have an Access 97 SR-2 database that was transferred from another office. On all reports (invoices, POs, etc), the address is being pulled from a 'function call'. This 'function call' has a feild name (ie custName) then the code & LF then the next field name. What this returns is the feilds all 'bunched together' (i.e. Customer Name1234 Addams streetPheonix, AR. It seems that the & LF should be putting a carriage return in and it is not. Does anyone know of a better (ans extremely simple) way of getting our carraige returns back. PS: In my infinite wisdom, I tried replacing the LF with a CR. Didn't work. HELP!!
 
Replace lf with

& Chr(13) & Chr(10) &

HTH Joe Miller
joe.miller@flotech.net
 
Or just vbCrLf
MichaelRed
mred@att.net

There is never time to do it right but there is always time to do it over
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top