Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UPDATING ROWSOURCE

Status
Not open for further replies.

deulyd

Programmer
Oct 17, 2001
106
CA
Hi,
I have a problem updating a rowsource of an unbound listbox in my report.

Let say I have a field ("FIELD") that contains the following string : "A;B;C;D;E;".
I want to set the listbox rowsource to that value.

The problem is that if I do
"listbox.rowsource = me.FIELD"

In the OnOpen I get the following error :
#13 : Type mismatch (because the FIELD object is not set)

In any other events, I get the following error :
#2191 : You can't set the rowsource property after
printing has started.

How can I do that?

Thanks

Deulyd


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top