Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Syntax, I think?
Message
From
28/11/2002 21:28:13
Smyte Smithlin
Spectrum Software, Inc.
Omro, Wisconsin, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Syntax, I think?
Miscellaneous
Thread ID:
00728074
Message ID:
00728074
Views:
44
I'm trying to write out a file with an ' in the address. I'm getting an error 1300 function name is missing. Here is my string building command just before the fwrite.

filetext1 = chr(34)+"5"+chr(34)+" "+chr(34)+c67invhd.inv_cardnu+chr(34)+" "+ ; chr(34)+c67invhd.inv_cardex+chr(34)+" "+chr(34)+allt(str(thisform.charges,8,2))+chr(34) ; +" "+chr(34)+str(c67invhd.inv_ordnum,8,2)+chr(34)+" "+chr(34)+c67invhd.inv_cardap+chr(34)+" "+chr(34)+thisform.custAddress+chr(34)

thisform.custAddress is the field which contains the '. I tried brackets around just that field but then of course I get "thisform.custAddress" in each record output.

Any help greatly appreciated.

Thanks.......Smyte
Next
Reply
Map
View

Click here to load this message in the networking platform