hi,
ChipR gave me the hint of hidden combos to fill in textboxes with data from another table than the one 'linked' to the form (record source).
this is the code I have in a form and this is working well.
so comboboxes (cb_abc..) are hidden ant txt visible of course.
Now, I want to do the same thing in a report.
So I put this code:
Everything is ok with the comboboxes, data corresponds with the current record in the report, but the textboxes don't update..
Any ideas?
ChipR gave me the hint of hidden combos to fill in textboxes with data from another table than the one 'linked' to the form (record source).
this is the code I have in a form and this is working well.
Code:
Private Sub Form_Current()
Me.txt_workbrowse_sopu = Me.cb_workbrowse_sopu.Column(1)
Me.txt_workbrowse_sopu_nr = Me.cb_workbrowse_sopu.Column(2)
End Sub
Now, I want to do the same thing in a report.
So I put this code:
Code:
Private Sub Report_CurrentReport()
Me.txt_instrep_sopu = Me.cb_instrep_sopu.Column(1)
Me.txt_instrep_sopu_nr = Me.cb_instrep_sopu.Column(2)
End Sub
Any ideas?
Comment