G
Guest
Hi, everybody!
I know ac97 does not provide direct binding of an ado rs to a report. I want
to do it manually.
I have a form with a textbox and a button. On the button click event, I
passed the text box value to sql server and got a ado rs back.
My question is, am I able to pass the rs into the report, and in report's
open event wire up field by field like this
me!txtName.ControlSource = rs.fields("CustName")
....
Or do the data mapping in my form?
After all, is it possible to code this way? Any sample?
Thanks!
I know ac97 does not provide direct binding of an ado rs to a report. I want
to do it manually.
I have a form with a textbox and a button. On the button click event, I
passed the text box value to sql server and got a ado rs back.
My question is, am I able to pass the rs into the report, and in report's
open event wire up field by field like this
me!txtName.ControlSource = rs.fields("CustName")
....
Or do the data mapping in my form?
After all, is it possible to code this way? Any sample?
Thanks!