How can I make labels invisible on load in Access 2007 -


i've got logger form hides text , combo boxes until hit "start activity" there anyway can make labels disappear on load , appear once start button pressed?

here sample of code:

private sub form_load()

struserid = environ("username")

appversion = "version - " & dlookup("version", "version", "id = 1") & " - " & dlookup("versiondate", "version", "id = 1") me.txtversion = appversion me.cmdstartcall.visible = true me.txtpolicyclaimreference.visible = false me.txtjobreference.visible = false me.txtnotes.visible = false me.cbocontactmethod.visible = false me.cbotitle.visible = false me.cbodepartment.visible = false me.cbolocation.visible = false me.txtscheme.visible = false me.txtfirstname.visible = false me.txtsurname.visible = false 

end sub

so if assume each txt or cbo box has same name label, how can them not show unless activated?

thanks dan

the labels must attached (associated) textboxes/comboboxes, hidden automatically them.

to attach separated labels:

  • select label
  • issue cut command
  • select control want attach label
  • issue paste command.

(from http://www.consultdmw.com/access-control-labels.htm)


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -