Cindy
I believe you will need to use the Dataprovider Convert to function.
Sample:
dim dp as BODataProvider
set dp = ActiveDocument.DataProviders.Item(1) call dp.ConvertTo(ExpText,1,“C:\OUTPUT\TEXTFILE”)
Mike McErlain
McErlain Consulting @ Cisco Systems
At 03:03 PM 3/10/2000 +1000, you wrote:
Hi,
I’m trying to write a script that will save a file as a *.txt file after being refreshed by the Document Agent Server. I tried to use the function SaveAs()
but
when I opened that text file in notepad, it contained some funny symbols and some portions of a script in my scripts directory. I could not open the text file using File->Open, but when I select that file from the lastest files
saved
list (bottom portion of File menu), it opens it up like a *.rep file. Is there actually a function that I should be using instead of SaveAs() in this case or should I be calling another function before SaveAs()?? I’m using BO 4.1 and ReportScript.
Any suggestions would be appreciated. Thanks in advance…
Cindy.
Listserv Archives (BOB member since 2002-06-25)