Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to save PDF file in General Field to c:\ drive
Message
From
29/09/2006 13:36:09
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01158204
Message ID:
01158231
Views:
21
Sergey,

Should I use this code
handleout=FCREATE(tcFileName)

lnStartPos = AT( "%PDF", str1 )
lnEndPos = RAT( "%%EOF", str1 ) + 5


str2=SUBS(str1, lnStartPos, lnEndPos - lnStartPos )

*** Write "Str2" into the BMP file "Test.BMP"
n=FWRITE(handleout,str2)
If yes, how can I use the above code with

Lets say table name is Customers
General field name is custfile
and Pdf file in custfile is cust_hist.pdf

Thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform