Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create a file with stored procedure
Message
From
28/02/2008 16:55:43
 
 
To
28/02/2008 16:18:05
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
01297559
Message ID:
01297578
Views:
23
Nope that's not it. Excel is installed and the command works fine when called from within VFP.


>Hi Don,
>
>Could it be if excel is not loaded on that machine?
>
>HTH
>Beth
>>The following procedure when called from an asp page will create the DBF but fails on the copy to xl5. Is there a reason why the copy command won't work and is there a fix?
>>Thanks
>>
>>
>>*** Stored procedure
>>function createexcel
>>	lparameters lcSQL  && for later
>>        *execscript(lcSQL)  && for later
>>	filespec = (justpath(dbf())+ "../output/sampleout")
>>	select * from sites into table (filespec)
>>	use (filespec)
>>	filespec = (justpath(dbf())+ "../output/sampleout2")
>>	copy to (filespec) type xl5
>>	return filespec
>>endfunc
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform