Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP VB save
Message
From
27/02/2008 13:44:26
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Miscellaneous
Thread ID:
01296978
Message ID:
01297010
Views:
28
>>I am working on a web app using a VFP database. The pages are written with ASP and VB script. I am looking for ways to deliver data files (query results) to the users. In my search I recently stumbled across some sample code that used the form:
>>
>>rs.Save "c:\myfilename.ext"
>>
>>to create a file on the users PC. This seems to work on my test but I can't figure out the format of the result file. It won't open with VFP or excel. Does anyone know what type of file this is and are there switches to control the format into something commonly useful?
>
>There's a second parameter that specifies the format.
>
>adPersistADTG=0 - Microsoft Advanced Data TableGram (ADTG) format.
>adPersistXML=1 - XML format.
>
>See http://msdn2.microsoft.com/en-us/library/ms681501.aspx

Thanks Sergey. That's just what I needed.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform