Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COPY FILE foible
Message
De
30/05/2001 09:13:21
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
COPY FILE foible
Divers
Thread ID:
00512607
Message ID:
00512607
Vues:
41
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform