Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COPY to - Corrupt Data error
Message
 
 
To
16/08/2006 15:08:07
Bly Beach
Discovery Unlimited, Inc.
Arnoldsville, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01146049
Message ID:
01146161
Views:
18
Have you verified the user rights to the directory?

Also are you copying InvoiceHdr table? If yes, remove InvoiceHdr. from your command. I would not even suggest to use m. for the Which variable <g>

Or is WHICH a variable defined in INCLUDE file?

>There is a slash for the .datadir
>Which is a variable for the invoice number being reconciled.
>
>The code works just fine on half of the computers and produces the "corrupt" error on the others.
>
>Thanks for your help.
>
>>>Sorry! I must have deleted the line of code.
>>>
>>>Copy TO ALLTRIM(localparms.datadir)+ "temp.DBF" FOR invoicehdr.INVOICENUM = WHICH
>>
>>Hmm, what is in LocalParms.datadir (could it be missing \ at the end?) and what is Which? Is it a variable?
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform