Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append from SDF
Message
 
 
À
02/10/2002 23:24:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00707201
Message ID:
00707203
Vues:
21
Hi Jalu,

Default extension for SDF file is .TXT. To specify that file doesn't have extension, add '.' (dot) to the file name.
FleName=adir(Farray,"\\server1\data\CD*")
for x=1 to FleName
    pathFl = "\\server1\data\" + Farray(x,1) + ;
              IIF(EMPTY(JUSTEXT(Farray(x,1))), ".", "")
    append from(pathFl) sdf
endfor
>Dear All,
>
>When I try to append some text files (no extention file) using :
>
>FleName=adir(Farray,"\\server1\data\CD*")
>for x=1 to FleName
> pathFl="\\server1\data\"+Farray(x,1)
> append from(pathFl) sdf
>endfor
>
>sometimes it works 100% and sometimes it comes with en error message saying that the files is not a valid text file and asking for TXT extention.
>
>Does anyone can tell where did I go wrong here ?
>
>
>Thanks.
>Jalu.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform