Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 30th, 2006, 10:51 PM
Registered User
 
Join Date: Mar 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Input Mask

Hi,

I'm trying to create an input mask for my AutoNumber field. The format of the field should be B_S____, which is:-

B, a capital letter, S, and four digits which generate by Access.

I tried B>LS0000 but it result in e.g. B>LS0001, B>LS0002, etc. rather than allowing user to type in the capital letter between B and S. I have no idea how the input mask should be, could anyone help me PLEASE?
Thanks a lot

 
Old April 3rd, 2006, 06:36 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

You can't use an input mask on an autonumber field, only text fields.
You can create this sort of numbering using formulas when you run a form or report. Have the user unput the characters you want in one field, then have a second field on the form show the user your scheme based on a concatenation of the field they just entered and the autonumber field.

In any event you won't be able to manipulate an autonumber field like this. Am I right folks?

HTH

mmcdonal





Similar Threads
Thread Thread Starter Forum Replies Last Post
equivalent of input mask in MSAccess deeraj VB.NET 1 March 22nd, 2005 12:05 AM
Help on date field mask Dave Brown Beginning PHP 1 December 16th, 2004 10:10 PM
Add Mask To Input Element ritag HTML Code Clinic 4 July 20th, 2004 03:33 PM
Input Mask MHarrison Excel VBA 0 December 2nd, 2003 12:11 PM
Creating an Input Mask in a text box in VB.NET ysu_computer_lab VS.NET 2002/2003 1 November 5th, 2003 02:40 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.