Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL aggregate
Message
De
26/03/2010 09:59:20
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01457370
Message ID:
01457438
Vues:
42
I see
But
CREATE CURSOR moo (i1 I)
APPEND BLANK
REPLACE i1 WITH BITSET(i1,31)
is a pain anyway.

Agnes

>I tnink you can get it to work with sign bit as well
>
>SELECT grp, CTOBIN(MAX(BitorSql(grp, bitfld)), "4S") AS BitField ;
>	FROM crsTest ;
>	GROUP BY grp
>RETURN
>
>FUNCTION BitorSql(tnGroup, tnVal)
>IF tnGroup <> pnGroup 
>	pnResult = 0
>	pnGroup = tnGroup
>ENDIF	
>pnResult = BITOR(pnResult, tnVal)
>RETURN BINTOC(pnResult, "4S")
>
>
>>Da
>>
>>>Correct but you know that I meant that, right? :).
>>>
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform