Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using the APPEND FROM with variables
Message
 
 
À
06/10/2003 05:28:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00835283
Message ID:
00835306
Vues:
16
IF NOT ("." lcFileName)
  lcFileName = lcFileName + "."
ENDIF
APPEND FROM (lcFileName) TYPE SDF
>HI,
>
>I have this project which contains a number of forms.
>
>One of the forms displays a ListBox that contains filenames and a command button.
>
>The user selects a filename from the ListBox and then clicks the command button to continue.
>
>What happens is that the filename selected is stored to a variable and then the APPEND FROM command is used to append the data from the textfile to a table.
>
>Problem is that the command below generates an error as the filename does not have an extension.
>
>APPEND FROM (lcFileName) TYPE SDF
>
>The error returned is "Cannot find c:\import\FIRE-050.txt"
>
>Can anyone help?
>
>thanks,
>
>Jason Lawrie
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform