|
-
Oct 29th, 2002, 12:48 AM
#1
Thread Starter
New Member
Problem in Data Report
I am facing some problem in Displaying Data in dataReports:
i want to pass parameters from form to the data report query.
normally our query is select * from table_name
but ,
i want to pass query like
select * from table_name where condition1 and condtion2 etc....
now in condition1 and condition2 i want to pass some parameters or variables through vb form to report.
how do i ?
pls, explain with example and vb code?
-
Oct 30th, 2002, 07:17 AM
#2
Junior Member
you will have to use an active data source on your report then from vb set the datasource of the report like
rpt.database.setdatasource = rst
as long as the recordset you are passing has the same structure as the active datasource in your report it will work
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
|