Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is wrong
Message
From
20/04/2006 09:17:54
 
 
To
20/04/2006 09:04:01
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:
01114929
Views:
22
Try to execute the lines, one by one, in the command window. When you get an error, try
DIR (gcDelimName+'*.*')
to see if you receive an error, and if so, which error.

>hi,
>
>Do you realy have ....? yes
>
>but when i change xl5 to xls, i got error message invalid bath or file name
>
>
>COPY fields num,Msisdn,date,flag TO (gcDelimName) xls
>
>thanks
>
>>I can not see what's wrong, but I have some ideas. Do you realy have the right to create a file in the directory in qustion?
>>
>>>ok,
>>>thanks again, but what is worng with code.
>>>
>>>USE main1
>>>gcDelimName = ALIAS( ) + '.xls'
>>>gcPath      = [\\Jtchp58544\new smd\Training\Quality Test 01\]
>>>gcDelimName =  gcPath + ALIAS() + [.XLS]
>>>COPY fields num,Msisdn,date,flag TO (gcDelimName) XL5
>>>SET DEFAULT TO [\\Jtchp58544\new smd\Quality Test 01\]
>>>brow
>>>
>>>thanks.
>>>
>>>

>>>USE main1
>>>gcDelimName = ALIAS( ) + '.xls'
>>>gcPath = [\\Jtchp58544\new smd\Training\Quality Test 01\]
>>>gcDelimName = gcPath + ALIAS() + [.XLS]
>>>COPY fields num,Msisdn,date,flag TO (gcDelimName) XL5
>>>SET DEFAULT TO [\\Jtchp58544\new smd\Quality Test 01\]
>>>brow
>>>
>>SNIP---
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform