Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invalid subscript reference
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01173721
Message ID:
01173793
Vues:
17
>>>I think you should seriously consider VFP9. (Look who's talking...)
>>>
>>
>>It's not my decision to make. Anyway, looks like my program doesn't really work as it should for some reason. For w4e it returns w49... and it should not.
>>
>>>>You're too late to the game <g> Yes, I do if my mask is too short. I'm going to put some restrictions on the mask and also add try/catch functionality
>
>try:
>
>CREATE CURSOR crsFiles (FileNames M)
>lcFile = SYS(2000,[mask here])
>DO WHILE NOT EMPTY(lcFile)
>   IF NOT EMPTY(lcFile)
>      INSERT INTO crsFiles VALUES (m.lcFile)
>   ENDIF
>   lcFile = SYS(2000,[mask here],1)
>ENDDO
>
>
>not tested

I was thinking about something like this, but when I tried myDir + "*g*.*" it returned wrong file...
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform