Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compile Constants in a TEXT clause
Message
De
03/11/2008 05:33:49
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01359091
Message ID:
01359095
Vues:
23
Out of curiousity, did my first suggestion work, or did you use a variable?

>Thank Tore...
>
>bernhart
>
>
>
>>>Hi all,
>>>
>>>i's possible to include contants in a text to clause ?
>>>
>>>
>>>
>>>#DEFINE CSJ_LOC	3
>>>
>>>TEXT To oPrivatecParamCR.conditionFiltre NOSHOW TEXTMERGE PRETEXT 15
>>> 		<<.ccondit1>> AND E.nType =  CSJ_LOC AND
>>> 		ICASE(<<.chkhospitalisés.VALUE>> , E.ltransfert = .F. , .T. )
>>>  ENDTEXT
>>>
>>>
>>>Good Morning
>>>
>>>bernhart
>>
>>Everything inside a text/endtext block is untouched except the textmerge parts. Try this
>>#DEFINE CSJ_LOC	3
>>
>>TEXT To oPrivatecParamCR.conditionFiltre NOSHOW TEXTMERGE PRETEXT 15
>> 		<<.ccondit1>> AND E.nType =  <<CSJ_LOC>> AND
>> 		ICASE(<<.chkhospitalisés.VALUE>> , E.ltransfert = .F. , .T. )
>>  ENDTEXT
>>
If this does not work, you must use a variable instead, in other words
CSJ_LOC=3
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform