Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Odd results on SQL Select
Message
From
14/06/2006 18:50:12
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Odd results on SQL Select
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01129147
Message ID:
01129147
Views:
61
Assume a table containing the following entries for itemNum:
B2456DI14
B2456DI14R
B2456DI14TT
B2456DI14W

select * from itemMast ;
    where itemnum >= "B2456DI14" and itemNum <= "B2456DI14"
The SQL Select returns all four of those records. However if I go to the any of them besides the first record, and do:
? (itemNum >= "B2456DI14" and itemNum <= "B2456DI14")  && shows FALSE
Trying to make a parameterized view that can get a range of records, or only one record if start and ending values are the same. But it is a bust at this point.

Any ideas?
Steve Gibson
Next
Reply
Map
View

Click here to load this message in the networking platform