input mask-cnc

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i have a drawing number field where i would like the number to have the
letters CNC- preceding every number. i would like to have the CNC- show on my
field block prior to me entering the number
thanks, Tony
 
You could use the OnFocus event of the field:

If Me.NewRecord And Nz(Me.MyField, "") = "" Then
Me.MyField = "CNC-"
End If

Steve
 

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

Back
Top