tab form

  • Thread starter Thread starter ssblue
  • Start date Start date
S

ssblue

i have a tab form that uses DATE / SHIFT / ADVISOR
as unique IDs

i need to be able lock the DATE / SHIFT / ADVISOR combo
boxes

and add a new record button

and i have done all this, however i need my combo boxes to
become active when they hit the new record button
 
Hi

set the locked property of Date/Shift/Advisor to yes & enabled to no

then on your add new record button
add the following
me!date.enabled = true
me!date.locked = false
me!shift.enabled = true
me!shift.locked = false
etc

BTW not a good idea to use Date as a field name

also add in NEXT and PREVIOUS buttons
and add the following code to them
me!date.enabled = false
me!date.locked = true
me!shift.enabled = false
me!shift.locked = true
etc


This should give you what you want.

Cheers
JulieD
 
Back
Top