A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Input Mask



 
 
Thread Tools Display Modes
  #1  
Old June 7th, 2004, 07:43 PM
Sara Lorence
external usenet poster
 
Posts: n/a
Default Input Mask

I am new at creating an Access 2000 database from scratch. I am
trying to make 3 fields be entered in in caps only. I have looked at
many of the postings and tried what other people have suggested and I
have not gotten anything to work. If some one could please help me, I
would greatly appreciate it. The one that I have tried that made the
entry caps was doing an input mask but the program with that was it
was forcing me to determine how many characters had to be entered.
This did not work well because if I wrote and query (say for an
address) then there were extra spaces in the state and country fields.
Thanks in advance!!
  #3  
Old June 8th, 2004, 01:57 PM
Sara Lorence
external usenet poster
 
Posts: n/a
Default Input Mask

I tried this and I get the same error as before when I tried to create
an event procedure, no matter what I enter it tells me that it is
incorrent. Thanks anyways!!

Sara

Tim Ferguson wrote in message 6...
(Sara Lorence) wrote in
m:

I am new at creating an Access 2000 database from scratch. I am
trying to make 3 fields be entered in in caps only.


Put something like this in the BeforeUpdate event for the text boxes on the
form (you are doing all your data entry via a form, aren't you?):-

If Not IsNull(txtThisTextBox.Value) Then
txtThisTextBox.Value = UCase$(txtThisTextBox.Value)
End If

Hope that helps


Tim F

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:41 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.