Main Form and Subforms

  • Thread starter Thread starter Shakeel Ahmad
  • Start date Start date
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.
 
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.
 
Back
Top