[AccessD] Read the contents of a file into a memvar

Arthur Fuller artful at rogers.com
Fri Jul 8 14:52:14 CDT 2005


I need to do what the subject says. The file might possibly be 1000 chars
but more likely fewer. What I would ideally like to do is this:

Dim myText as string
Dim strSourceFile as string
strSourceFile = xxxx
myText = ReadFile( strSourceFile )

And then, once I am done, post said text to a Word bookmark... but that part
is easy.

TIA,
Arthur




More information about the AccessD mailing list