Main Form and Subforms

S

Shakeel Ahmad

Hi

I know how to place one/more subform(s) on the main form...

But I want to know:

I have a database of Students....

It has three forms

1. StudentsInforamation
2. FeesRecords
3. CourseInformation

I want to use the StudentsInformation form as main form and for other two
forms i want to make
two command buttons (one for FeesRecords and one for CourseInformation) If i
click the FeesRecord button the fee record form should appear and the main
form should go behind and it should not work untill the FeeRecords form or
CourseInformation form is open......

Please Help...

Thanks and Regards,

Shakeel Ahmad.
 
R

Rick Brandt

Shakeel Ahmad said:
Hi

I know how to place one/more subform(s) on the main form...

But I want to know:

I have a database of Students....

It has three forms

1. StudentsInforamation
2. FeesRecords
3. CourseInformation

I want to use the StudentsInformation form as main form and for other two
forms i want to make
two command buttons (one for FeesRecords and one for CourseInformation) If i
click the FeesRecord button the fee record form should appear and the main
form should go behind and it should not work untill the FeeRecords form or
CourseInformation form is open......

Please Help...

Either set the Modal property of the fee records form to Yes or open it with the
acDialog argument of the OpenForm method.

The first method just means that no other form or report can have focus while
the fees form is opened (unless you open another modal form from the fees form).
The second is the same except it also causes your calling code to pause until
the form you opened is closed or made hidden.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top