RonnieODIN
Registered User.
- Local time
- Today, 09:15
- Joined
- Jun 15, 2012
- Messages
- 46
Hi all,
First some explanation to my DB:
I am listing different machines, frmListeMaskiner, for which I need to register info reg. different electrical components. Clicking a field in the machine column, "Maskine", will open a window with info about the components for the machine, frmInfoMaskine.
I am trying to make a button "Ret komponent" for whitch I would like to do the following when clicked:
I have made it identify the tab shown using select case, this works fine.
Then I would like it to collect the ID for the component, "KomponentID", in a subform to use for opening a new form, "frmKompPLC". This troubles me very much.
On the "PLC" tab the top subform is called "UnderordnetObjekt76" which is the subform I would like to collect ID from.
I am trying:
KomponentID = Me!UnderordnetObjekt76.KomponentID
Hope anyone have an idea to solve the problem.
-Ronnie
First some explanation to my DB:
I am listing different machines, frmListeMaskiner, for which I need to register info reg. different electrical components. Clicking a field in the machine column, "Maskine", will open a window with info about the components for the machine, frmInfoMaskine.
I am trying to make a button "Ret komponent" for whitch I would like to do the following when clicked:
I have made it identify the tab shown using select case, this works fine.
Then I would like it to collect the ID for the component, "KomponentID", in a subform to use for opening a new form, "frmKompPLC". This troubles me very much.
On the "PLC" tab the top subform is called "UnderordnetObjekt76" which is the subform I would like to collect ID from.
I am trying:
KomponentID = Me!UnderordnetObjekt76.KomponentID
Hope anyone have an idea to solve the problem.
-Ronnie