Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL aggregate
Message
 
 
To
26/03/2010 03:17:19
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01457370
Message ID:
01457396
Views:
57
This message has been marked as a message which has helped to the initial question of the thread.
Hi Agnes,

Would this work for you?
pnResult = 0

SELECT ..., BITORSQL(myfield) ...

FUNCTION BITORSQL(tnVal)
RETURN BITOR(pnResult , tnVal)
>
>I have a small problem to aggregate a field.
>
>The field is a integer holding bit patterns.
>
>I like to aggregate like a BITOR, IOW all bits set should remain.
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform