Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
View, cursor or somethig else?
Message
De
09/07/1997 15:25:59
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00038475
Message ID:
00039152
Vues:
37
> >create cursor tmp (dummy c(1)) > >?fullpath(dbf("tmp")) > > Sometimes, Dragan, it's hard to see the forest for the trees. What a > lovely, simple solution! > > Barbara 10Q... next time I'll owe you at least an icecream for words like this >) Once I had a case where I've set tmpwork=c:\scratch, created a cursor which I couldn't index, reported something incomprehensible about the pathnames. The cursor's dbf("cursor") gave c:\scratch\78943222.tmp or something like that. So I suspended the routine, and tried indexing from the command window. Nope. So I tried to look for the file on the disk, and found out that I forgot to create the \scratch directory :). The file didn't exist at all. Probably it was one of those "memory only" cursors with just a pro forma filename (though I doubt it... the app where it happened wrote the customer code into two fields, and later had some rather tricky Selects) or... I'm still confused, and couldn't reproduce the error. How the hell could Fox have made a file in an non-existent directory?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform