Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print/Save File
Message
From
03/08/1999 17:26:59
 
 
To
30/07/1999 16:23:44
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00248310
Message ID:
00249446
Views:
13
Hey John,
I'm having problems trying to get my putfile to fire off. When I step through the following code, I see that the value I'm sending as a result of putfile command line is capturing the entire path. Is my syntax incorrect?

IF MESSAGEBOX ("Do you wish to save this record?" , 4 + 32 + 0, "Save CDC Id" ) = 6
G_TmpFile = PUTFILE('Save CDC Id As..',G_TmpFile, 'Txt;Dbf;Xls')
SET STEP ON
DO CASE
CASE G_TmpFile = G_TmpFile + '.Xls'
COPY TO G_TmpFile TYPE XLS
CASE G_TmpFile = G_TmpFile + '.Dbf'
COPY TO G_TmpFile TYPE FOX2X
ENDCASE
ELSE
ThisForm.Btn_Create.VISIBLE = .T.
ENDIF

Jeff T.
Thanks in Advance.

J. Turner
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform