Question What's wrong with this formula?

black zero

Well-known member
Joined
Jan 15, 2009
Messages
53
Programming Experience
Beginner
VB.NET:
CrystalReportViewer1.SelectionFormula = "{solardata.transaction_date} >= CDateTime('" & Tgl_awal.Text & "') And {solardata.transaction_date} <=  CDateTime('" & Tgl_akhir.Text & "')"

Any pointer?

EDIT:
The error is as follow, sorry for pasting the wrong code...

'A Date time is required here. Error in formula selection'
 
Last edited:
Solved

>.<

The database just needs to be 'refreshed' from the connection window on the left. The appropriate report object has to be reinserted...
 
Back
Top