I think my brain is broken!
I have a form which contains a subform, I have a field on the main form called Problem ID, and a button below.
When the button is clicked, it uses Dlookup to find certain values of that problem from a table and input them onto either the form or subform depending on what it is. I can get the data to transfer to the form perfectly.
What I can't do, is get the data to transfer to the subform. I have tried every variation of the below I can think of but nothing is working. I simplified it to just input 3 until I get it working.
Forms!Deviations!SubformDeviations.From.txtPartNumber.Value = "3"
I know its something simple. Thank You
I have a form which contains a subform, I have a field on the main form called Problem ID, and a button below.
When the button is clicked, it uses Dlookup to find certain values of that problem from a table and input them onto either the form or subform depending on what it is. I can get the data to transfer to the form perfectly.
What I can't do, is get the data to transfer to the subform. I have tried every variation of the below I can think of but nothing is working. I simplified it to just input 3 until I get it working.
Forms!Deviations!SubformDeviations.From.txtPartNumber.Value = "3"
I know its something simple. Thank You
Last edited: