Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid subscript reference
Message
 
 
To
30/11/2006 16:12:25
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01173721
Message ID:
01173881
Views:
8
>>>>>You can't use [*g*.*] as a mask. You always will get a whole folder. try even in command prompt (old DOS) window:
>>>>>DIR *g*.*
>>>>>What you want? A file that have G somewhere in the name?
>>>>
>>>>Yes, but not in the extension part. Anyway, I think I can always call this program with extension, so this problem becomes mute. But I was a bit surprised to see this behavior.
>>>
>>>get all jpeg files and after that use $ operator.
>>
>>Are you saying that this is invalid?
>>
>>
>>IF ADIR(laFiles, m.HomeImg + "*" + m.lcCheck + "*." + m.tcExt) >=1
>
>No, I'm saying first get all files to a table with sys(2000)
>
>after that search with
>
>loca for "g"$my_field

I have lots of files in the directory, why do I have to put all of them in the table? Why I can not use mask?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform