tab control

G

Guest

I want to make a tab page visible or not based on the value in a record when
scrolling though records in a form using the record navigation buttons on the
form.
 
T

tina

I want to make a tab page visible or not based on the value in a record

do you mean "based on the value *of a field* in the current record"? and are
you basing the decision on a single value only, such as "if value = "this",
then tab page.visible = true, otherwise tab page.visible = false"? if so,
try adding the following code to the form's Current event procedure, as

Me!TabPageName.Visible = (Me!ControlName = "this")

hth
 

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