For RTF you could use either datatype, VarChar or VarBit, so here is how you
would declare and then assign:
Set Var vSomeVarName VarChar = ['FullPathNameOfTheFile']
You can use VarChar because the RTF contains only Ascii printable
characters, but for general file assignments, you would do:
Set Var vSomeVarName VarBit = ['FullPathNameOfTheFile']
----- Original Message -----
From: "Luc Delcoigne" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Tuesday, May 17, 2011 4:11 PM
Subject: [RBASE-L] - re: write file to var
HI,
I have a report that I print to .rtf file.
Then I have to load the contents of that rtf file into a BLOB field.
What's the best way to do this ?
THanks a lot !
Luc Delcoigne
--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]
(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body,
place any
text to search for.
================================================