Need help on Subform

harky

Active Member
Joined
Apr 8, 2010
Messages
411
Office Version
  1. 365
  2. 2024
Platform
  1. Windows
I had problem with my subform. I had few table show below which contain data.

tblStudentDetail - Table which contain student detail
Student ID (Primary Key)
Address
Contact

tblEnrolment - Table which contain student who took which subject
Student ID
Subject

tblSubject
Subject ID (Primary Key)
Subject (Eng, Maths)
Teacher Name
Subject Fee
Room No


I link my subform
tblStudentDetail - Student ID (Primary Key) WITH
tblEnrolment - Student ID

But it has an error ask me to key in my Student ID @ subform when i select my subject.


7HT0uDT.jpg
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
you cannot enter data into a subform until you save the parent record.
Saving the parent creates the ID, THEN the subform can add sub records.
 
Upvote 0

Forum statistics

Threads
1,225,608
Messages
6,185,964
Members
453,333
Latest member
BioCoder84

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top