Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
STRTOFILE() problem
Message
 
 
To
14/05/2002 10:26:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00655277
Message ID:
00656660
Views:
15
Larry,

This code works exactly the same...
create table memotest1 ( cfilename c(50), m1 m nocptrans )

lcfile = "C:\My Documents\apollo 11 flag.jpg"
insert into memotest1 values ( justfname( lcfile ), filetostr( lcFile ) )

lcfile = "C:\WINDOWS\Desktop\Clear 10 Hurdles to Web Services Success.eml"
insert into memotest1 values ( justfname( lcfile ), filetostr( lcFile ) )

scan
   strtofile( m1, justfname( cFileName ) )
endscan
>Thanks it works, amazing, would not work with a sql insert, but works with the replace. No matter it works, you saved me a bunch of VB learning
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform