|
-
Apr 1st, 2000, 07:03 AM
#1
Thread Starter
New Member
I tried to make report using Datareport in VB. For this purpose I use dataenvironment|Connection1|command1 as datasource.
To get the specific record I used the following statement on the SQL Statement on Command1 properties.
SELECT * FROM expatdata WHERE firsname = '" & documentstatus.text.text1 & "'
This statement I used to get record where firstname same with firstname on the documentstaus Form. But this statement just gave me the blank report.
Anyone can help me?
-
Apr 2nd, 2000, 08:55 AM
#2
Member
Hi,
All other things what you did is correct.
In the SQL you change like this.
SELECT * FROM expatdata WHERE firsname = ?
Then go to the parameters tab and set the properties.
open this command where you want to open the report with the parameter.
Dataenvironmet.command (parameter)
datareport.show
thanks
karun
-
Apr 2nd, 2000, 07:02 PM
#3
Thread Starter
New Member
Thanks Karun,
It's Work
I really appreciate
Tnaks Again
bambang
-
Apr 2nd, 2000, 07:02 PM
#4
Thread Starter
New Member
Thanks Karun,
It's Work
I really appreciate
Tnaks Again
bambang
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
|