Input Mask for Hyperlink field

  • Thread starter Thread starter Dave Elliott
  • Start date Start date
D

Dave Elliott

Can I make the control on my form that is is hyperlink use a mask?
i.e. http://www. use this as the default beginning text and make it
go to the end of the mask so the user could finish the web address?
 
Can I make the control on my form that is is hyperlink use a mask?
i.e. http://www. use this as the default beginning text and make it
go to the end of the mask so the user could finish the web address?

If all the addresses start with 'http://www.' let the user enter just
the last part of the address.

Code the control's AfterUpdate event:

If InStr([ControlName],"http://www.") = 0 Then
Me![ControlName] = "http://www." & [ControlName]
End If
 

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