Question : select sintax in crystal reports 2008

hi all
what is the correct syntax for retrive a value in a formula field with crystal sintax for do a select value
like
select valor from ramalr where diametroramal='1' and diametrocabezal='1'
i want wan specific value

thank you a lot

Answer : select sintax in crystal reports 2008

You need to use a SQL expressions to execute SQL commands rather than formulas. Formulas are used for manipulating the data returned by your datasource.

Of course you could set your datasource to be the ramair table and place:
{ramair.diametroramal|='1' and {ramair.diametrocabezal}='1'
in your select expert

and place the valor field on the report canvas

Hope this helps

L
Random Solutions  
 
programming4us programming4us