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
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

Random Solutions  
programming4us programming4us