Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with seek and DateTime() index
Message
From
14/06/1999 21:14:38
Dennis Schuette
Customized Business Services, Llc
Yuma, Arizona, United States
 
 
To
14/06/1999 08:09:13
Salminen Jukka
Js Software Systems
Vaasa, Finland
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00226705
Message ID:
00229807
Views:
28
Thanks for the reply. The problem was the 'Set Near" setting. As described in "Hackers Guide to Visual FoxPro 6.0" by Tamor Granor and Ted Roche, I included the Config.fpw file in the Project (Other, Text Files) and all now works.
Denis

>Check that you have defined all SET-commands in your code that could affect ordering of fields (COLLATE, DATE) and that they match with your CONFIG.FPW. I had a lot of weird behavior in runtime environment before I noticed that the settings in CONFIG.FPW don't translate into EXEs.
>
>JS
>
>>I am using VFP 5.0a. I have a table indexed on a Datetime field type.
>>There are multiple records with the same date, but different times, and I want to position on the first record for a particular date.
>>
>>The problem is that the code works perfectly while running within VFP, but the seek leaves me at EOF() when I build and run within an EXE.
>>
Dennis Schuette
Previous
Reply
Map
View

Click here to load this message in the networking platform