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