Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
V6s5 - How to make Parameterized Views return all record
Message
From
20/03/2004 08:48:39
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00886996
Message ID:
00888192
Views:
13
>Hi Cetin
>
>So we'd have something like this.
>
>m.lnMin = iif(empty(m.tnID),-0x80000000,m.tnID)
>m.lnMax = iif(empty(m.tnID),0x7FFFFFFF,m.tnID)
>
>>>>
>>>>and query looks like :
>>>>.... myID between ?m.lnMin and ?m.lnMax

Yes. Normally I don;t include negative values as my tables do not use negative ID values (actually I tend using GUID ids).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform