General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only