Hello all, I have a feeling you'll be seeing a lot of me in the future, I hope that's a good thing. I just started working on our companies access database 2003. We're moving to office 2010 and I'm finding a number of issues that I need to fix.
Anyway, when printing a purchase order we have a print preview function that displays what will print which show up as a report. The code for the ship to address works fine in 2003:
=[Companies.CompanyName] & Chr(13) & Chr(10) & [Companies.Address1] & Chr(13) & Chr(10) & [Companies.City] & ", " & [Companies.Region] & " " & [Companies.PostalCode] & Chr(13) & Chr(10) & "Phone: " & [Companies.Phone1] & Chr(13) & Chr(10) & "Fax: " & [Companies.Fax]
However, in 2010 I get this very informative #Type! message. I've tried using vbCrLf and vbNewLine to no avail. Basically it thinks vbCrLf is a variable and adds [vbCrLf] to it. Then when I go into report view it asks for a value for the parameter. Any help is greatly appreciated! I've been at this for a while testing different things. I even tried <BR>...
Dave in Sacto
Anyway, when printing a purchase order we have a print preview function that displays what will print which show up as a report. The code for the ship to address works fine in 2003:
=[Companies.CompanyName] & Chr(13) & Chr(10) & [Companies.Address1] & Chr(13) & Chr(10) & [Companies.City] & ", " & [Companies.Region] & " " & [Companies.PostalCode] & Chr(13) & Chr(10) & "Phone: " & [Companies.Phone1] & Chr(13) & Chr(10) & "Fax: " & [Companies.Fax]
However, in 2010 I get this very informative #Type! message. I've tried using vbCrLf and vbNewLine to no avail. Basically it thinks vbCrLf is a variable and adds [vbCrLf] to it. Then when I go into report view it asks for a value for the parameter. Any help is greatly appreciated! I've been at this for a while testing different things. I even tried <BR>...
Dave in Sacto