General information
Category:
Third party products
>Hi All,
>
>I want to give my users the ability to create simple MS Word doc's and populate them with fields using data from my app.
>What's the best approach? I've tried placing an IncludeText field on a Word doc tied to a .txt file and that works OK, except it doesn't update automatically when the contents of the text file changes. The Link option seems to allow every type of file except .txt. Any suggestions? I'd like to keep it as simple as possible.
>
>Thanks,
>Luke
>
>P.S. I'm using Office 2003 and I'd like to keep it in that context.
I'm not exactly sure what you mean,butmaybe this helps:
The users should use documents in RTF-format. There they can use field names with delimiters, like: @@address@@.
Now you can use the following code:
lcStr = FILETOSTR("MyRTFfile.rtf")
lcStr = STRTRAN(m.lcStr,"@@address@@"", myFoxTable.AddressField)
....
....
STRTOFILE(m.lcStr,"MyRTFfile.rtf")
Maybe you mean something completely different, maybe not.
HTH,
Lennert
Previous
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