Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exporting to excel using the GETFILE
Message
From
14/05/2002 01:34:36
 
 
To
14/05/2002 00:38:29
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00655975
Message ID:
00655986
Views:
23
>I'm new to VFP so please forgive me!

Forgive?? What for??? :)
Everybody´s here to learn. ;)

try this one:
OutFilename" "
OutFilename = GETFILE('xls', 'Create .xls:', 'OK', 0,   'Report in')
OutFilename = ["] + OutFilename + [.xls"]
IF frmmain.opgType.optCompany.VALUE =1
	USE viaiaallasc
	copy to (OutFilename) TYPE XLS
ELSE
	USE vfdfdallasc		
	COPY TO (OutFilename) TYPE XLS
ENDIF	
Claudio Lassala
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform