RowSourceType set by code?

  • Thread starter Thread starter PG
  • Start date Start date
P

PG

Using properties I can set a combobox RowSourceType to a
function ListReports and it works fine.

But I can't figure out how to do it by code

Form!frmFilter.cbxReport.RowSourceType = ListReports

wont work so what does?
 
PG said:
Using properties I can set a combobox RowSourceType to a
function ListReports and it works fine.

But I can't figure out how to do it by code

Form!frmFilter.cbxReport.RowSourceType = ListReports

wont work so what does?

Have you tried

Form!frmFilter.cbxReport.RowSourceType = "ListReports"

? Or it's possible -- I can't check it right now -- you may have to use

Form!frmFilter.cbxReport.RowSourceType = "ListReports()"
 
Back
Top