J
John
I have a main form with a tabcontrol on it. The first tab contains
fields that are part of the main table. The second tab has a subform
on it. On the subform there is a subtotal textbox totalling up the
currency in the subform. This amt is then brought to the main form
(first tab) by using a textbox with a control source of the subforms
textbox. What the users want (and are very adamant about it) is the
mainform textbox on the first tab are to have a series of events
occur;
1) a check to see if the amt is over the user authority level (2, 3,
4 are dependent on if over limit)
2) a "watermark" (actually a label) appears saying above authority
level
3) some controls are disabled
4) several controls are enabled
I have tried using the textbox BeforeUpdate, AfterUpdate, _Changed,
and Form_Current, and even tried using the subforms textbox but it
seems I am striking out on everything. What is the best textbox event
that will work all this (or least #1)?
Thanks...John
fields that are part of the main table. The second tab has a subform
on it. On the subform there is a subtotal textbox totalling up the
currency in the subform. This amt is then brought to the main form
(first tab) by using a textbox with a control source of the subforms
textbox. What the users want (and are very adamant about it) is the
mainform textbox on the first tab are to have a series of events
occur;
1) a check to see if the amt is over the user authority level (2, 3,
4 are dependent on if over limit)
2) a "watermark" (actually a label) appears saying above authority
level
3) some controls are disabled
4) several controls are enabled
I have tried using the textbox BeforeUpdate, AfterUpdate, _Changed,
and Form_Current, and even tried using the subforms textbox but it
seems I am striking out on everything. What is the best textbox event
that will work all this (or least #1)?
Thanks...John