Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / July 2007

Tip: Looking for answers? Try searching our database.

Reports

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Shakeel Ahmad - 30 Jul 2007 15:19 GMT
I have a students information database in MS Access.

I have created following tables:

StudentsInformation
FeeStatus
Progress
CourseInformation

and the same forms.....

Now i have made the StudentsInformation form a Master form and other three
forms have been made subforms
and they have the view property (DataSheet view).

I want to make a command button (cmdReports) onclick it should take me to
the exact page which student is active on the form....

I would like to ask more questions about the reports.... but yet i need to
know only the above mentioned question.

Shakeel Ahmad.
mray29 - 30 Jul 2007 20:12 GMT
The code under cmdReports can open the report and send it a filter string,
based on the text box on your form that contains StudentID.

For example,
DoCmd.OpenReport "rptStudents", acViewPreview, , "ID = " &
Forms.frmMaster.txtID

where Forms!frmTest.txtID represents the control on your form that contains
the ID for the student in question.

Be sure to set the report's Data/Filter On property to Yes.

> I have a students information database in MS Access.
>
[quoted text clipped - 18 lines]
>
> Shakeel Ahmad.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.