I am generating crystal reports using sql statements but now i am looking 4 code to allow me to refresh the crystal report. in other words remove the datra on the report and wait for another query

> i am looking 4 code to allow me to refresh the crystal report.

Why you want to refresh? Write such a query which return empty dataset.

For example,

select * from tableName where pkcolumn is null
commented: solved my issue +1
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.