Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COPY FILE foible
Message
De
30/05/2001 09:48:24
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
30/05/2001 09:13:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00512607
Message ID:
00512628
Vues:
14
Ben,

Is this your exact code, or an example?
LOCAL lcFileName
lcFileName = THIS.FireProcedure()

COPY FILE &lcFileOut. TO &lcResultsFile.
Where do you use "lcFileName" in the COPY command?
Why the periods after "&lcFileOut" and "&lcResultsFile" ?



>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform