Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checkbox Help

Status
Not open for further replies.

labprof

Technical User
Jan 26, 2006
49
US
Can someone help me - I have a form that is based on a table with the following field names and types:
1. QBVNum (Auto Number)
2. ActNum (Number)
3. EmpNum (Number)
4. Date (Date)
5. Acknowledgement (Yes/No)
6. Comments (Memo)

On the form the Acknowledgement field is a checkbox and the EmpNum field is a data entry field.
The form opens in Data Entry Mode.

I need the checkbox field (Acknowledgement) to show as True or checked.... when the technican enters their EmpNum.

Is there a way to make this automatically show as "checked" as soon as the EmpNum field is updated.

Any help would be greatly appreciated.

Labprof
 
In the AfterUpdate event procedure of the EmpNum control:
Me![Acknowledgement] = (Trim(Me![EmpNum] & "") <> "")

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Perfect PHV.....

I'm so glad and thankful for this forum.
Have a Great Weekend!!

Labprof
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top