Click to See Complete Forum and Search --> : [RESOLVED] display only one record in report
binbpk
Nov 14th, 2006, 01:29 AM
hi..how do i display only one record from a table in a data report? instead of displaying every record stored in the database from a specific table? thanks.
shakti5385
Nov 14th, 2006, 01:46 AM
For this you have to fill the data report at run time, Make the data report pass the SQL query for one record in the VB.
How you are making the data report are you using the data environment?
If yes the use this
DataEnvironment1.ReportName (Val (Text1.Text))
Here in the Textbox contain Particular employee code
Hope you know how to make the data report!!!!!!!!!!
binbpk
Nov 16th, 2006, 01:40 AM
erm i dont quite get this..can u explain further? i have a form where student registration is made and once details have been saved, users are able to print a report showing the details recently saved..how do i do so?
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.