Design by Sue
Registered User.
- Local time
- Today, 13:42
- Joined
- Jul 16, 2010
- Messages
- 816
I have read that folks that really know how to program Access don't like input masks but I am only a basic programmer so I am hoping someone can help me out of a situation.
The input mask I am using is >L>L>L"-"aaaaa"-v"00 This produces a number such as AAA-3d45T-v00. The mask "layout" is exactly what I need to limit the user to using and produces the correct look for the item number. (3 capital letters - up to 5 digits or letters or blanks 1 v and 2 digits) Problem is that the - (dashes) and the v (small letter v) that need to be in each of the items numbers doesn't appear in the table when the record is saved. My example is recorded as AAA3d45T00. I need the - and the -v to appear in the table as part of the item number. If I put the input mask as part of the table it appears in the table correctly but when it is used as a control source for such as a combo box, it appears without the - and the -v.
I can't change the format of these items - they must appear this way.
What can I do to get the entire item number to appear in the table and throughout the other forms and reports? Please if you have any ideas let me know. I have to deliver this database on Tuesday early AM!
Thanks
Sue
The input mask I am using is >L>L>L"-"aaaaa"-v"00 This produces a number such as AAA-3d45T-v00. The mask "layout" is exactly what I need to limit the user to using and produces the correct look for the item number. (3 capital letters - up to 5 digits or letters or blanks 1 v and 2 digits) Problem is that the - (dashes) and the v (small letter v) that need to be in each of the items numbers doesn't appear in the table when the record is saved. My example is recorded as AAA3d45T00. I need the - and the -v to appear in the table as part of the item number. If I put the input mask as part of the table it appears in the table correctly but when it is used as a control source for such as a combo box, it appears without the - and the -v.
I can't change the format of these items - they must appear this way.
What can I do to get the entire item number to appear in the table and throughout the other forms and reports? Please if you have any ideas let me know. I have to deliver this database on Tuesday early AM!
Thanks
Sue