Good morning,
Thank you for the earlier suggestion
Have tried both quotes and macro substitution and still get the error
When running tthe procedure there are 14 files opened. The first statement that uses a copy to a delimited file starts with a select statement and then the copy
copy to output\womast01.txt type delimited with " with character | select arinvt01 copy to output\arinvt01.txt type delimited with " with character |
The first copy works fine, the second statement throws the error.. Now get this, if I change the file name after throwing the error the copy executes just fine if I run the copy again it fails???
Windows 10 64-bit. Programs are on the network, running VFP9 from my local machine.
Am also considering: 1.) The VFP I'm using was recently installed, so am going to run from a remote machine I have to see what happens. 2.) An alternative method. 3.) Pathing error... I set the folder where the fxp file resides as default (I use set default to getdif())
Hopefully what I have presented makes sense!
On Fri, 13 May 2022 at 03:34, Dave Crozier DCrozier@flexipol.co.uk wrote:
Desmond, Either as Alan says or:
cName="arinvt01.txt" copy to (cName) type delimited with character |
Dave Crozier Software Development Manager Flexipol Packaging Ltd.
Mob: 07967 671080
﴾⚆ᨎ⚆﴿
Flexipol® Packaging Ltd T 01706 222 792 E DCrozier@flexipol.co.uk W https://www.flexipol.co.uk/ Follow us: Unit 14 Bentwood Road, Carrs Industrial Estate, Haslingden, Lancashire, BB4 5HH
This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.
Flexipol Packaging Ltd. has taken every reasonable precaution to minimise the risk of virus transmission through email and therefore any files sent via e-mail will have been checked for known viruses. However, you are advised to run your own virus check before opening any attachments received as Flexipol Packaging Ltd will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received.
It is the responsibility of the recipient to ensure that they have adequate virus protection.
Terms & Conditions: Notwithstanding delivery and the passing of risk in the goods, the property in the goods shall not pass to the buyer until the seller Flexipol Packaging Ltd. ("The Company") has received in cash or cleared funds payment in full of the price of the goods and all other goods agreed to be sold by the seller to the buyer for which payment is then due. Until such time as the property in the goods passes to the buyer, the buyer shall hold the goods as the seller's fiduciary agent and bailee and keep the goods separate from those of the buyer and third parties and properly stored protected and insured and identified as the seller's property but shall be entitled to resell or use the goods in the ordinary course of its business. Until such time as the property in the goods passes to the buyer the seller shall be entitled at any time -----Original Message----- From: ProFox profox-bounces@leafe.com On Behalf Of Alan Bourke Sent: 13 May 2022 09:02 To: profoxtech@leafe.com Subject: Re: VFP 9: Invalid Path or File Name
Try wrapping the filename in quotes.
-- Alan Bourke alanpbourke (at) fastmail (dot) fm
[excessive quoting removed by server]