vb.net - VB .Net 2010 to run crystal reports 11 and I am getting This field name not found error -


net 2010 run crystal reports 11 , getting field name not found error when use table value in formula field. trying check date field isnull or not , picking non null value database/view field. if build report in crystal reports 11 stand alone works. crystalreportviewer in vb .net 2010 getting error. field name not known.error in formula ..... details: errorkind

this vb code inside formula section.

dim x date

if {@pi} = "pi"     x = datevalue({view_group_totals.ch_pi_open_date}) else     if isnull({view_group_totals.ch_open_date})         x = datevalue({view_group_totals.ch_pi_open_date})     else         x = datevalue({view_group_totals.ch_open_date})     end if end if 

formula = x

basically cannot field value inside formula section. appreciated.

thank you, ravin ![enter image description here][1]

the issue has been fixed. fix ... not getting field value validating inside formula. sql queries view did not has field name in sql. when modified sql adding field name, did not error formula section.

thank siva - sql query issue clue helped me fix issue.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -