Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COPY FILE foible
Message
From
30/05/2001 09:13:21
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
COPY FILE foible
Miscellaneous
Thread ID:
00512607
Message ID:
00512607
Views:
40
Hi,

I have a class, that calls a method, that runs a procedure returning the unique filename of a delimited text file to the calling method... This text file is then copied to a predetermined results file name.

i.e.
****************************************
LOCAL lcFileName
lcFileName = THIS.FireProcedure()

COPY FILE &lcFileOut. TO &lcResultsFile.
****************************************

Previous tests have provided succesful results, the resulting text file containing all necessary fields delimited by the '$' character, however my last run through gave me the correct number of fields and records but the first field contained the first few lines of the procedure file being run. The remaining fields were all empty strings.

e.g.
"LPARAMETERS taxReturnValues"$""$""$""$""$" "$""$""$""$""$""$""$""$""$""$""
""$""$""$""$""$" "$""$""$""$""$""$""$""$""$""$""
"EXTERNAL ARRAY taxReturnValues"$""$""$""$""$" "$""$""$""$""$""$""$""$""$""$""
""$""$""$""$""$" "$""$""$""$""$""$""$""$""$""$""
"IF PARAMETERS() < 1"$""$""$""$""$" "$""$""$""$""$""$""$""$""$""$""
" taxReturnValues[2] = """$""$""$""$""$" "$""$""$""$""$""$""$""$""$""$""
"ENDIF"$""$""$""$""$" "$""$""$""$""$""$""$""$""$""$""
""$""$""$""$""$" "$""$""$""$""$""$""$""$""$""$""

I noticed a near identical problem whilst creating an INI file using Win32API functions. Instead of the file showing my inserted section and values it showed the first few lines of my source code. I first noticed this after installing Visual Studio SP5.

Has anyone had similar problems or can someone point me towards a possible/probable cause/solution.

Many thanks in advance,

Ben Sugden
Ben Sugden

"Remember to enjoy hunting - and that means relishing the search for the product that has never been advertised or placed handily at the front of the shop; Life begins on the uppermost shelf, avoid guide books and top 10's like the plague." - Ramsey Dukes
Next
Reply
Map
View

Click here to load this message in the networking platform