Try This if your using Dataenvironment:
In the command SQL box
SELECT * FROM JOBS WHERE (JOBNUMBER = ?)
then in your program where you call the report add:
Dataenvironment1.command1 (combo1.text)
report.show
I'm going off the top of my head but if thats not it, its REAL close!
bluenoser337... You can place the code anywhere in your program itself... I havent tried putting anything in the report (new to the designer)
alanf... Thats not it (unfortunatly). I had the same query printing to a listbox before and it worked great (just looked ugly)
Here is part of the sub...
I am building a report using Datareport Designer basically just for formating. (I have a bunch of other reports and want this one to look the same.) Anyway. I placed a bunch of labels in the report and filled them in with code like this...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.