|
-
Jun 30th, 2005, 01:06 AM
#1
Thread Starter
Lively Member
Data Reports
Hi to all
I have a problem in Data report, I am using two tables in dataenviornment and linking them to show in report.
The problem is that the report does not get refreshed for only second time, for exampe if i press the print report for the first time it shows the correct report, but after updating the record in tables and pressing print report it shows the first record or report, and after that it shows right results.
i am using the folowing code for printing report
DataEnvRpt.rsCommandRpt.Open
DataEnvRpt.rsCommandRpt.Requery
Report.Refresh
Report.Show
DataEnvRpt.rsCommandRpt.Close
please reply as soon as possible
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|