Validation Rule in Form (1 Viewer)

mCool

New member
Local time
Today, 16:15
Joined
Nov 9, 2010
Messages
8
Hi guys

I am new to Access 2003 and I was trying to populate data onto a subform with a condition. The condition is that the data that is populated is limited to the same ID number as the ID number on the main form.

Can I do that via each textbox's validation rule or is there a simpler way ?
 

John Big Booty

AWF VIP
Local time
Tomorrow, 01:15
Joined
Aug 29, 2005
Messages
8,262
First up welcome to the forum.

I'm not entirely sure I understand what it is you are trying to do.

A properly set up Form/Subform set will have a parent/child link via a unique ID on the main form which is stored as a foreign key in all child records. In this way all child records can be directly related to their parent.

Is that what you are trying to do? or are you trying to do something quite different :confused:
 

MStef

Registered User.
Local time
Today, 16:15
Joined
Oct 28, 2004
Messages
2,251
Look at "DemoSubA2000.mdb" (attachment, zip).
Open frmMain and see.
Adapt it in your mdb.
 

Attachments

  • DemoSubA2000.zip
    18.7 KB · Views: 105

mCool

New member
Local time
Today, 16:15
Joined
Nov 9, 2010
Messages
8
I found the answer. The reason it did not show what I wanted was because I did not populate the subform's table with different data. I have a r/ship btw the main form and the subform's table so it was all sorted automatically ! Thank you all so much for you time and advices !!!
 

Users who are viewing this thread

Top Bottom