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 for height



 
 
Thread Tools Display Modes
  #1  
Old April 25th, 2005, 10:59 AM
Alan UK
external usenet poster
 
Posts: n/a
Default Input mask for height

I want to have a table with imperial heights stored (eg 5'10") but when I
create my inpout mask with 9'##" ( 9"' "##"") it just displays as 5'10. Is
there any way to have the inches symbol displayed as well?
  #2  
Old April 25th, 2005, 12:25 PM
Allen Browne
external usenet poster
 
Posts: n/a
Default

Use two separate fields to hold the value for Feet and Inches.

You can print them on a report as:
=[Feet] & "' " & [Inches] & """"

Alternativley, use a single field to store the value in inches. You can then
display it on a report as:
=([Inches] \ 12) & "' " & ([Inches] Mod 12) & """"

Either way, you are able to perform any calculations you need (such as
calculating average height, or height-to-weight ratios)

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Alan UK" wrote in message
...
I want to have a table with imperial heights stored (eg 5'10") but when I
create my inpout mask with 9'##" ( 9"' "##"") it just displays as 5'10. Is
there any way to have the inches symbol displayed as well?



 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't find "Social Security Number" data in Input Mask Wizard Wind azik Database Design 1 January 1st, 2005 07:31 PM
Prevent Blank Records being written. Need Help. Robert Nusz @ DPS Using Forms 4 December 29th, 2004 05:15 PM
Input Mask Loi New Users 1 November 18th, 2004 05:44 PM
How to use a default value within an input mask Kathy Database Design 1 September 3rd, 2004 06:35 PM
Input Mask not working ? TonyB Database Design 4 May 11th, 2004 11:26 PM


All times are GMT +1. The time now is 03:57 AM.


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