Hi there,
I know it's not a very original topic, but subforms are getting me down. I've searched through previous topics and can't find anything to match my query (is that a reserved word?)
I have a form "ActionDB" which contains two subforms:
1. ActionIn
2. ActionHist
ActionIn is a single form used to input new Actions (seven fields). Action History is a continuous form which shows all of the actions which have been inputted into ActionIn.
Both of these forms are successfully linked to ActionDB using the parent-child relationship and I have no troubles with the tables and relationships (all records are stored in Table ActionTab).
Now my question is purely aesthetic, but when I've inputted an Action into subform1 I want subform2 to automatically Requery. But it doesn't I've tried everything I can think of and what's annoying is that if I click on the Parent form (ActionDB) and press Shift+F9 it updates it; if I click on subform2 and press Shift+F9 it updates it; if I click on subform1 and press Shift+F9 nothing happens (nothing should, so I'm quite happy with that) but I can't for the life of me find anyway to do it automatically. I've spent the last day on this, working with macros and specifying recordsets and programming in VB and nothing seems to work.
Please help as I'm tearing out what meagre reserves of hair are left on my head.
Thanks,
KLF
I know it's not a very original topic, but subforms are getting me down. I've searched through previous topics and can't find anything to match my query (is that a reserved word?)
I have a form "ActionDB" which contains two subforms:
1. ActionIn
2. ActionHist
ActionIn is a single form used to input new Actions (seven fields). Action History is a continuous form which shows all of the actions which have been inputted into ActionIn.
Both of these forms are successfully linked to ActionDB using the parent-child relationship and I have no troubles with the tables and relationships (all records are stored in Table ActionTab).
Now my question is purely aesthetic, but when I've inputted an Action into subform1 I want subform2 to automatically Requery. But it doesn't I've tried everything I can think of and what's annoying is that if I click on the Parent form (ActionDB) and press Shift+F9 it updates it; if I click on subform2 and press Shift+F9 it updates it; if I click on subform1 and press Shift+F9 nothing happens (nothing should, so I'm quite happy with that) but I can't for the life of me find anyway to do it automatically. I've spent the last day on this, working with macros and specifying recordsets and programming in VB and nothing seems to work.
Please help as I'm tearing out what meagre reserves of hair are left on my head.
Thanks,
KLF