I have a web application it use report write , it works fine when the database query has at least one record. but when the query doesn't have any record generate runtime error. my question is , Is there any way to check if the query is empty or not before implements DrawPdfToWeb("....")
Regards
Runtime Error when database query is empty
Re: Runtime Error when database query is empty
Support · Jul 15, 2008Hello,
You can use queries which returns no records without any problem. This will not give any error.
Please make sure that you are using the latest build of our product. You can download the latest build from our website
, if you have a license then you can download it from our CustomerArea
by logging in using your current serial number.
Also please double check the spellings and names of the fields you are using in RecordBox. Do you have any field name with a space in its name?
If you are unable to find the problem then please send over the dplx file and the error you are getting to our [^a|mailto:support@cete.com|Support Team^] so that they can take a look at it.
Thanks,
ceTe Software Support Team.
Re: Runtime Error when database query is empty
Forum member · Jul 15, 2008I have last build version which is DynamicPDF500forNETDeveloperEditionBuild10626 but I still got runtime error if the query has no records
Re: Runtime Error when database query is empty
Support · Jul 15, 2008Hello,
Can you please send over the DPLX file you are using and the runtime error you are seeing to our [^a|mailto:support@cete.com|Support Team^] and they can take a look into it further?
Thanks,
ceTe Software Support Team