User form controls add

N

nath

Hi

I am using the code below to add controls to a form based
upon what the fields they relate to in access. i.e. With
a SQL rowsource, they have a combo box, normal they just
have a text box. This works fine.

EvoDataForm2.Controls.Add "Forms.textbox.1", ("Fld" & h),
True

What i need to do now is to add these controls in a
similar way, but on a multipage. I am sure it wont be
that much different in relation to code, but i just cant
figure it out.

TIA

Nath.
 

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

Top