J
jim
I'm trying to format a CSV spec from a query and so want quotes on some
fields and other without quotes -because of embedded commas in some fields.
Can someone help me with the proper quotes? Here's what I have:
CustID: """" & Left(tblInvoicesBrad.CustomerName,19) &"""
IIf(Len(tblInvoicesBrad.CustomerName)=40,"""Right(tblInvoicesBrad.CustomerName,1)"""," ")
I need the first left 19 characters of CustomerName concatenated to the
Rightmost character if CustomerName is 40 positions long, if CustomerName
isn't 40 positions I want to concatenate a space. I can't seem to get the
quotes right.
Thanks
fields and other without quotes -because of embedded commas in some fields.
Can someone help me with the proper quotes? Here's what I have:
CustID: """" & Left(tblInvoicesBrad.CustomerName,19) &"""
IIf(Len(tblInvoicesBrad.CustomerName)=40,"""Right(tblInvoicesBrad.CustomerName,1)"""," ")
I need the first left 19 characters of CustomerName concatenated to the
Rightmost character if CustomerName is 40 positions long, if CustomerName
isn't 40 positions I want to concatenate a space. I can't seem to get the
quotes right.
Thanks