Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create a cursor with predefined structure
Message
De
02/10/2001 10:25:16
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
02/10/2001 10:10:26
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00562758
Message ID:
00563006
Vues:
28
>>>>
>>>>
>>>>select * from myTable where 1=0
>>>>
>>>>
>>>>Will that work?
>>>
>>>You can also do:
>>>
>>>
>>>Select * From myTable Where .F.
>>>
>>>
>>>Renoir
>>
>>Or,
>>
>>select * from mytable where "YES"="NO"
>>
>>This would be the slowest version. *grin*
>
>LOL!
>
>Hmmmm... How about:
>
>
>select * from mytable where Alltrim(Str(Val(IIF("YES",1,0)))) = Alltrim(Str(Val(IIF("NO",0,1))))
>
>
>Renoir

Ooops! Syntax error...
select * from mytable where Alltrim(Str(Val(IIF(<B>"YES" = </B>"YES",1,0)))) = Alltrim(Str(Val(IIF(<B>"NO" = </B>"NO",0,1))))
Like it matters... <g>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform