Information générale
Catégorie:
Codage, syntaxe et commandes
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement