N
Nedan Nedzatra
Hia!
How are you doing friends?
I am not able to populate the Text Box in the report!
Sub NewControlsReports()
Dim rpt As Report
Dim ctlLabel As Control, ctlText As Control
Dim intDataX As Integer, intDataY As Integer
Set rpt = CreateReport
rpt.RecordSource = "Contacts"
intDataX = 2000
intDataY = 100
Set ctlText = CreateReportControl(rpt.Name, acTextBox, , "", "", _
intDataX, intDataY)
ctlText.ControlSource = "Notes" '''''I''''' am not sure how to put it here
DoCmd.Restore
End Sub
'Notes' is the field containing data in the table 'Contacts'. This is a
report from a table not from a query. Could someone please correct me!
Thanks.
How are you doing friends?
I am not able to populate the Text Box in the report!
Sub NewControlsReports()
Dim rpt As Report
Dim ctlLabel As Control, ctlText As Control
Dim intDataX As Integer, intDataY As Integer
Set rpt = CreateReport
rpt.RecordSource = "Contacts"
intDataX = 2000
intDataY = 100
Set ctlText = CreateReportControl(rpt.Name, acTextBox, , "", "", _
intDataX, intDataY)
ctlText.ControlSource = "Notes" '''''I''''' am not sure how to put it here
DoCmd.Restore
End Sub
'Notes' is the field containing data in the table 'Contacts'. This is a
report from a table not from a query. Could someone please correct me!
Thanks.