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()"
 

Ask a Question

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.

Ask a Question

Back
Top