Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Recursion using FSO
Message
 
 
À
17/05/2001 09:17:21
Robert Herrmann
Tx Dept. of Health - Cancer Registry
Austin, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00508249
Message ID:
00508259
Vues:
26
Hi!

When INSERT command process the values for inserting, the objects are evaluated somewhat different. This cause strange effects when using WITH/ENDWITH. For example, when accesisng property of the usuall VFP object that way, "property is not found" error occurs. Try to assign values to variable and than use variables in the INSERT command.

>when doing a recursive dir listing using the scripting.filesystemobject method. In the insert command I am using the following:
>
>INSERT INTO filesFSO (Path, Filename, Size, Created, Modified);
>VALUES (.Path, .Name, .Size, .DateCreated, .DateLastModified)
>
>at which point i get a OLE error code 0x800a0005: Unknown COM status code msg box.
>
>BUT, when I leave the .DateCreated out, it runs just fine. Takes forever but it runs :)
>
>Any ideas what is causing this error to creep up with the .DateCreated?
>
>TIA!
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform