>>>>>...Or you can build whole XML as a string and than save it to a file using STRTOFILE().
>>>>
>>>>But he's using FP2.6 and this functions was available in that version :-)
>>>
>>>Only if you're lazy to write one. :)
>>
>>The problem is, the string of XML becomes larger than 2.6a can handle.
>>
>>BOb
>
>Larger than 16MB?
Actually the help says 2 GB for string size in 2.6, but I kept getting an insuficient memory error... actually, what I was doing was taking the file I had written, putting it into a memo file then doing:
replace mymemo with left(mymemo,len(mymemo)-1)
and I got insuficient memory, and I assumed it was cause the string was to large. The XML file was only 1.7 mb.
Anyway, SET PRINTER TO works awesome, and I only had to change 4 lines of code.
Thanks,
BOb
Précédent
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