AlexN
Registered User.
- Local time
- Today, 10:55
- Joined
- Nov 10, 2014
- Messages
- 302
Hi everyone,
I have a Main form (MainForm) with two subforms (SFormA, SFormB).
These SForms are connected to the MainForm by a control (controlA) and connected to each other by a control (controlB) via an unbound control in the main form, in order to change data in SFormB according to selected record in SFormA.
SFormB has an on current event procedure determined to show different things depending on the value of a bound control that changes every time I select a different record in SFormA.
Everything works fine when Mainform and SForms first load. But, when I select a record on SFormA I get a runtime error and everything stops, application closes and reopens, creating a safety copy. It seems to me that the on current procedure on SFormB causes this problem, because if I delete it no error appears (SFormB not showing what I want though).
Funny thing is I have another database, same design, same structure, same procedures, (different objects and names of course) and it works perfectly alright.
I’m struggling for days with this, nothing doing. I even recreated the whole database still the same error. Anyone has some redemptive idea?
Thank you
Nick
I have a Main form (MainForm) with two subforms (SFormA, SFormB).
These SForms are connected to the MainForm by a control (controlA) and connected to each other by a control (controlB) via an unbound control in the main form, in order to change data in SFormB according to selected record in SFormA.
SFormB has an on current event procedure determined to show different things depending on the value of a bound control that changes every time I select a different record in SFormA.
Everything works fine when Mainform and SForms first load. But, when I select a record on SFormA I get a runtime error and everything stops, application closes and reopens, creating a safety copy. It seems to me that the on current procedure on SFormB causes this problem, because if I delete it no error appears (SFormB not showing what I want though).
Funny thing is I have another database, same design, same structure, same procedures, (different objects and names of course) and it works perfectly alright.
I’m struggling for days with this, nothing doing. I even recreated the whole database still the same error. Anyone has some redemptive idea?
Thank you
Nick