You can use CurrentProject.AllForms collection in your
Form_Load event:
Dim strForms As String
Dim frm As AccessObject
cbo.RowSourceType = "Value List"
For Each frm in CurrentProject.AllForms
strForms = strForms & ";" & frm.Name
Next
If Len(strForms) > 1 Then
cbo.RowSource = Mid(strForms, 2)
End If
You can use CurrentProject.AllForms collection in your
Form_Load event:
Dim strForms As String
Dim frm As AccessObject
cbo.RowSourceType = "Value List"
For Each frm in CurrentProject.AllForms
strForms = strForms & ";" & frm.Name
Next
If Len(strForms) > 1 Then
cbo.RowSource = Mid(strForms, 2)
End If
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.