Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is wrong
Message
From
20/04/2006 02:24:16
 
 
To
19/04/2006 11:16:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01114524
Message ID:
01114854
Views:
17
hi,
thank you for reply and help,


it try this code yesterday no errors,
but itry it now
i got error message Variable "gcDelimFile" is not found
USE main1&& form d:\llocp
gcDelimName = ALIAS( ) + '.xls'
**gcDelimFile = PUTFILE('excel_file:', gcDelimName, 'xls')&&if active this line return to same dir d:\llocp
gcPath      = [\\Jtchp58544\new smd\Training\Quality Test 01\]
gcDelimName =  gcPath + ALIAS() + [.XLS]
COPY fields num,Msisdn,date,flag TO (gcDelimFile) XL5
SET DEFAULT TO (gcPath)
brow
i try anothr thing i got 3 error messages
SET DEFAULT TO d:\llocp
USE main1
gcDelimName = ALIAS() + [.XLS]
gcDelimName = ["\\Jtchp58544\new smd\Training\Quality Test 01\"] + FORCEEXT(JUSTSTEM(gcDelimName),[XLS])
COPY fields num,Msisdn,date,flag TO TO (gcDelimFile) xl5 &&&Variable "gcDelimFile" is not found
COPY fields num,Msisdn,date,flag TO ["\\Jtchp58544\new smd\Training\Quality Test 01\"] + FORCEEXT(JUSTSTEM(gcDelimName),[XLS])&&&Invalid path or file name 
COPY fields num,Msisdn,date,flag TO (gcDelimName) xl5 &&&OLE error code 0x800300fc:unknown com status code
SET DEFAULT TO ["\\Jtchp58544\new smd\Quality Test 01\"]
brow
SET DEFAULT TO d:\llocp
thanks
>>hi,
>>sorry to repeat it again.
>>why i cant see it at the path,
>>
>>USE main1
>>gcDelimName = ALIAS() + [.XLS]
>>gcDelimName = ["\\Jtchp58544\new smd\Training\Quality Test 01\"] + FORCEEXT(JUSTSTEM(gcDelimName),[XLS])
>>COPY fields num,Msisdn,date,flag TO (gcDelimFile) XL5
>>SET DEFAULT TO ["\\Jtchp58544\new smd\Quality Test 01\"]
>>brow
>>
>>
>
>Such an open ended question as thread title............
>
>
>At any rate..........
>
>What happened to the "Training" piece of the path in gcDelimName when you did you SET DEFAULT???
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform