Leventcos21
New member
- Local time
- Yesterday, 22:13
- Joined
- Oct 21, 2005
- Messages
- 7
Hi,
I am stuck on trying to print data from a combobox (cboEmpName) that is located in a continuous subform. Example, cboEmpName has a column count of 3, so when the record is printed it will show the name of the person and what is column 3 in the report.
But I get a run-time error 2465
I am stuck on trying to print data from a combobox (cboEmpName) that is located in a continuous subform. Example, cboEmpName has a column count of 3, so when the record is printed it will show the name of the person and what is column 3 in the report.
Code:
Private Sub Report_Open(Cancel As Integer)
Label14.Caption = Forms![frmEmpTrainingDoc]![sfrmTraining]![cboEmpName].Column(2)
But I get a run-time error 2465