jaffar2000
Registered User.
- Local time
- Today, 12:39
- Joined
- Apr 15, 2012
- Messages
- 28
ok this might be complicated.
Background:
Risk Management program to write the risk and its contingency plans.
long story short -
I have Table1 with fields: T1_ID (pk), Number1.
I have Table2 with fields: T2_ID (pk), Number2, Date, Status (open/close values), t1_id.
The two are connected with t1_id in "1 to Many" connection, meaning each record in Table1 can have many records in Table2
I created Form1 based on Table1.
In Form1, I added a sub-form, Form2, based on Table2.
Here is what I'd like to do (in vb or any other automatic way):
Number1 should be equal to the last (by T2_ID or Date) Number2 (in the connected Table/Form2) where Status = close.
Appreciate your help.
J.
Background:
Risk Management program to write the risk and its contingency plans.
long story short -
I have Table1 with fields: T1_ID (pk), Number1.
I have Table2 with fields: T2_ID (pk), Number2, Date, Status (open/close values), t1_id.
The two are connected with t1_id in "1 to Many" connection, meaning each record in Table1 can have many records in Table2
I created Form1 based on Table1.
In Form1, I added a sub-form, Form2, based on Table2.
Here is what I'd like to do (in vb or any other automatic way):
Number1 should be equal to the last (by T2_ID or Date) Number2 (in the connected Table/Form2) where Status = close.
Appreciate your help.
J.