SlideShare una empresa de Scribd logo
1 de 18
Field properties
objectives
• Field Formats
• Input mask
• Validation Rule
• Validation text
• Default value
Format
• The Format property affects only how data is displayed. It doesn't affect
how data is stored.
• You can use one of the predefined formats or you can create a custom
format by using formatting symbols.
• The Format property uses different settings for different data types.
• You can use the format to customize the way numbers, dates, times, and
texts are displayed or printed.
Symbol Meaning
(space) Display spaces as literal characters.
"ABC"
Display anything inside quotation marks as
literal characters.
! Force left alignment instead of right alignment.
* Fill available space with the next character.

Display the next character as a literal character.
You can also display literal characters by placing
quotation marks around them.
[colour]
Display the formatted data in the colour
specified between the brackets. Available
colours: Black, Blue, Green, Cyan, Red, Magenta,
Yellow, White.
Format Property - Number and
Currency Data Types
You can create custom number formats by using the following symbols:
Symbol Description
. (period)
Decimal separator. Separators are set in
the regional settings in Windows.
, (comma) Thousand separator.
0 Digit placeholder. Display a digit or 0.
#
Digit placeholder. Display a digit or
nothing.
$ Display the literal character "$".
%
Percentage. The value is multiplied by 100
and a percent sign is appended.
Format Property - Number and
Currency Data Types
-You can use the format to customize the way numbers, dates, times, and texts are
displayed or printed.
-Custom format number can have one to four section with (;) as the list separator.
Section Description
First The format for positive numbers.
Second The format for negative numbers.
Third The format for zero values.
Fourth
The format for Null (Null: A value you can
enter in a field or use in expressions or
queries to indicate missing or unknown
data.
Format Property - Number and
Currency Data Types
Examples:
$#,##0.00
£#,##0.00[Blue]
+0.00;-0.00;0.00;”Null”
0;(0);;”Unknown”
00.00[Blue];(-00.00)[Red];”Zero”;”Empty”
Format Property - Text and Memo
Data Types
Symbol Description
@
Text character (either a character or a
space) is required.
& Text character is not required.
< Force all characters to lowercase.
> Force all characters to uppercase.
You can create custom text and memo formats by using the following symbols.
Format Property - Text and Memo
Data Types
Section Description
First Format for fields with text.
Second
Format for fields with zero-length
strings (zero-length string: A string that
contains no characters.
Custom formats for Text and Memo fields can have up to two sections.
Each section contains the format specification for different data in a field.
Format Property - Text and Memo
Data Types
Examples:
@;”None”
>;@[Blue];”Unknown”[Red]
@[Green]
<@[Blue];”Null”[Red]
Format Property - Date/Time Data Type
Symbol Description
: (colon)
Time separator (separator: A character that separates units of
text or numbers.). Separators are set in the regional settings of
Windows.
/ Date separator.
c Same as the General Date predefined format.
d
Day of the month in one or two numeric digits, as needed (1 to
31).
dd Day of the month in two numeric digits (01 to 31).
ddd First three letters of the weekday (Sun to Sat).
dddd Full name of the weekday (Sunday to Saturday).
ddddd Same as the Short Date predefined format.
dddddd Same as the Long Date predefined format.
w Day of the week (1 to 7).
ww Week of the year (1 to 53).
m
Month of the year in one or two numeric digits, as needed (1 to
12).
mm Month of the year in two numeric digits (01 to 12).
mmm First three letters of the month (Jan to Dec).
mmmm Full name of the month (January to December).
You can create custom date and time formats by using the following symbols.
Format Property - Date/Time Data Type
q Date displayed as the quarter of the year (1 to 4).
y Number of the day of the year (1 to 366).
yy Last two digits of the year (01 to 99).
yyyy Full year (0100 to 9999).
h Hour in one or two digits, as needed (0 to 23).
hh Hour in two digits (00 to 23).
n Minute in one or two digits, as needed (0 to 59).
nn Minute in two digits (00 to 59).
s Second in one or two digits, as needed (0 to 59).
ss Second in two digits (00 to 59).
ttttt Same as the Long Time predefined format.
AM/PM
Twelve-hour clock with the uppercase letters "AM" or "PM", as
appropriate.
am/pm
Twelve-hour clock with the lowercase letters "am" or "pm", as
appropriate.
A/P
Twelve-hour clock with the uppercase letter "A" or "P", as
appropriate.
a/p
Twelve-hour clock with the lowercase letter "a" or "p", as
appropriate.
AMPM
Twelve-hour clock with the appropriate morning/afternoon
designator as defined in the regional settings of Windows
Setting Display
ddd", "mmm d", "yyyy Mon, Jun 2, 1997
mmmm dd", "yyyy June 02, 1997
"This is week number "ww This is week number 22
"Today is "dddd Today is Tuesday
Example
The following are examples of custom date/time format.
Format Property - Date/Time Data
Type
Input mask
- You can use the Input Mask property to make data entry easier and to
control the values users can enter in a text box.
- Input masks are helpful for data-entry operations such as an input mask
for a Phone Number field that shows you exactly how to enter a new
number: (___) ___-____.
- When you've defined an input mask and set the Format property for the
same field, the Format property takes precedence when the data is
displayed. This means that even if you've saved an input mask, the input
mask is ignored when data is formatted and displayed
Character Description
0
Digit (0 to 9, entry required, plus [+] and minus [–] signs not
allowed).
9
Digit or space (entry not required, plus and minus signs not
allowed).
#
Digit or space (entry not required; spaces are displayed as blanks
while in Edit mode, but blanks are removed when data is saved;
plus and minus signs allowed).
L Letter (A to Z, entry required).
? Letter (A to Z, entry optional).
A Letter or digit (entry required).
a Letter or digit (entry optional).
& Any character or a space (entry required).
C Any character or a space (entry optional).
. , : ; - /
Decimal placeholder and thousand, date, and time
separators (separator: A character that separates units of text or
numbers.). (The actual character used depends on the settings in
the Regional Settings Properties dialog box in Windows Control
Panel).
< Causes all characters to be converted to lowercase.
> Causes all characters to be converted to uppercase.
!
Causes the input mask to display from right to left, rather than
from left to right. Characters typed into the mask always fill it from
left to right. You can include the exclamation point anywhere in the
input mask.

Causes the character that follows to be displayed as the literal
character (for example, A is displayed as just A).
You can define a custom input mask by using the following characters.
Input mask
Examples:
Input mask Sample values
(000) 000-0000 (206) 555-0248
(999) 999-9999
(206) 555-0248
( ) 555-0248
(000) AAA-AAAA (206) 555-TELE
#999
–20
2000
>L????L?000L0
GREENGR339M3
MAY R 452B7
>L0L 0L0 T2F 8M4
00000-9999
98115-
98115-3007
>L<??????????????
Maria
Brendan
SSN 000-00-0000 SSN 555-55-5555
>LL00000-0000 DB51392-0493
Validation Rule
• You can use the Validation Rule property to specify requirements for data
entered into a record, field, or control. When data is entered that violates the
Validation Rule setting, you can use the Validation Text property to specify
the message to be displayed to the user.
• The maximum length for the Validation Rule property setting is 2048
characters.
• Microsoft Access automatically validates values based on a field's data type;
for example, Microsoft Access doesn't allow text in a numeric field. You can set
rules that are more specific by using the Validation Rule property.
• If you create a validation rule for a field, Microsoft Access doesn't normally
allow a Null value to be stored in the field. If you want to allow a Null value,
add "Is Null" to the validation rule, as in "<> 8 Or Is Null" and make sure the
Required property is set to No.
Validation Rule and text examples
Validation Rule property Validation Text property
<> 0 Entry must be a nonzero value.
> 1000 Or Is Null
Entry must be blank or greater than
1000.
Like "A????"
Entry must be 5 characters and begin
with the letter "A".
>= #1/1/96# And <#1/1/97# Entry must be a date in 1996.
>=18 And <=35
Entry must be between 18 and 35
including both numbers.
Default value
• Specifies a value that is automatically entered in a field when a new record
is created. For example, in an Addresses table you can set the default
value for the City field to Sulaimani. When users add a record to the table,
they can either accept this value or enter the name of a different city.
• The Default Value property applies to all table fields except those fields
with the data type of AutoNumber or OLE Object.
• The Default Value property is applied only when you add a new record. If
you change the Default Value property, the change isn't automatically
applied to existing records.

Más contenido relacionado

La actualidad más candente

Deque and its applications
Deque and its applicationsDeque and its applications
Deque and its applicationsJsaddam Hussain
 
Stack organization
Stack organizationStack organization
Stack organizationchauhankapil
 
Validation rule, validation text and input masks
Validation rule, validation text and input masksValidation rule, validation text and input masks
Validation rule, validation text and input masksfizahPhd
 
Binary computing
Binary computingBinary computing
Binary computingsamina khan
 
Register transfer language
Register transfer languageRegister transfer language
Register transfer languageSanjeev Patel
 
FYBSC(CS)_UNIT-1_Pointers in C.pptx
FYBSC(CS)_UNIT-1_Pointers in C.pptxFYBSC(CS)_UNIT-1_Pointers in C.pptx
FYBSC(CS)_UNIT-1_Pointers in C.pptxsangeeta borde
 
What is identifier c programming
What is identifier c programmingWhat is identifier c programming
What is identifier c programmingRumman Ansari
 
Input devices presentation
Input devices presentationInput devices presentation
Input devices presentationTayyab Hussain
 
Memory organisation ppt final presentation
Memory organisation ppt final presentationMemory organisation ppt final presentation
Memory organisation ppt final presentationrockymani
 
Values and Data types in python
Values and Data types in pythonValues and Data types in python
Values and Data types in pythonJothi Thilaga P
 
Microsoft word for beginners
Microsoft word for beginnersMicrosoft word for beginners
Microsoft word for beginnersFritzOsongco1
 
Data Structures and Algorithm - Module 1.pptx
Data Structures and Algorithm - Module 1.pptxData Structures and Algorithm - Module 1.pptx
Data Structures and Algorithm - Module 1.pptxEllenGrace9
 
Number system and codes
Number system and codesNumber system and codes
Number system and codesAbhiraj Bohra
 

La actualidad más candente (20)

Deque and its applications
Deque and its applicationsDeque and its applications
Deque and its applications
 
Stack organization
Stack organizationStack organization
Stack organization
 
Microoperations
MicrooperationsMicrooperations
Microoperations
 
Data Representation
Data RepresentationData Representation
Data Representation
 
Validation rule, validation text and input masks
Validation rule, validation text and input masksValidation rule, validation text and input masks
Validation rule, validation text and input masks
 
Binary computing
Binary computingBinary computing
Binary computing
 
Ascii codes
Ascii codesAscii codes
Ascii codes
 
File handling
File handlingFile handling
File handling
 
Strings in C
Strings in CStrings in C
Strings in C
 
Register transfer language
Register transfer languageRegister transfer language
Register transfer language
 
Data structures using c
Data structures using cData structures using c
Data structures using c
 
FYBSC(CS)_UNIT-1_Pointers in C.pptx
FYBSC(CS)_UNIT-1_Pointers in C.pptxFYBSC(CS)_UNIT-1_Pointers in C.pptx
FYBSC(CS)_UNIT-1_Pointers in C.pptx
 
What is identifier c programming
What is identifier c programmingWhat is identifier c programming
What is identifier c programming
 
Input devices presentation
Input devices presentationInput devices presentation
Input devices presentation
 
Memory organisation ppt final presentation
Memory organisation ppt final presentationMemory organisation ppt final presentation
Memory organisation ppt final presentation
 
Values and Data types in python
Values and Data types in pythonValues and Data types in python
Values and Data types in python
 
Microsoft word for beginners
Microsoft word for beginnersMicrosoft word for beginners
Microsoft word for beginners
 
Data Structures and Algorithm - Module 1.pptx
Data Structures and Algorithm - Module 1.pptxData Structures and Algorithm - Module 1.pptx
Data Structures and Algorithm - Module 1.pptx
 
Number system and codes
Number system and codesNumber system and codes
Number system and codes
 
B tree
B treeB tree
B tree
 

Destacado

Comenzar la vida-12574
Comenzar la vida-12574Comenzar la vida-12574
Comenzar la vida-12574julioagalvez
 
DOCUMENTOS FIFA - 4 -
DOCUMENTOS FIFA - 4 - DOCUMENTOS FIFA - 4 -
DOCUMENTOS FIFA - 4 - Diego Menino
 
Actividad INFANTIL frecuencia de hábitos.RBA.UNIR
Actividad INFANTIL frecuencia de hábitos.RBA.UNIRActividad INFANTIL frecuencia de hábitos.RBA.UNIR
Actividad INFANTIL frecuencia de hábitos.RBA.UNIRcucabayo
 
wojtekoslowski_portfolio
wojtekoslowski_portfoliowojtekoslowski_portfolio
wojtekoslowski_portfolioWojtek Os?owski
 
Coordinación y técnica
Coordinación y técnicaCoordinación y técnica
Coordinación y técnicaDiego Menino
 
презентація М. Гмошинська "Художники в памперсах"
презентація М. Гмошинська "Художники в памперсах"презентація М. Гмошинська "Художники в памперсах"
презентація М. Гмошинська "Художники в памперсах"Irina Tereschenko
 
3. eukaryotes, their structure & em
3. eukaryotes, their structure & em3. eukaryotes, their structure & em
3. eukaryotes, their structure & emsophiespyrou
 
0625 s15 qp_33
0625 s15 qp_330625 s15 qp_33
0625 s15 qp_33Omniya Jay
 

Destacado (13)

Comenzar la vida-12574
Comenzar la vida-12574Comenzar la vida-12574
Comenzar la vida-12574
 
resume
resumeresume
resume
 
DOCUMENTOS FIFA - 4 -
DOCUMENTOS FIFA - 4 - DOCUMENTOS FIFA - 4 -
DOCUMENTOS FIFA - 4 -
 
Actividad INFANTIL frecuencia de hábitos.RBA.UNIR
Actividad INFANTIL frecuencia de hábitos.RBA.UNIRActividad INFANTIL frecuencia de hábitos.RBA.UNIR
Actividad INFANTIL frecuencia de hábitos.RBA.UNIR
 
MDIS Horizons Article by Priyamvadha
MDIS Horizons Article by PriyamvadhaMDIS Horizons Article by Priyamvadha
MDIS Horizons Article by Priyamvadha
 
Fina0362
Fina0362Fina0362
Fina0362
 
wojtekoslowski_portfolio
wojtekoslowski_portfoliowojtekoslowski_portfolio
wojtekoslowski_portfolio
 
Coordinación y técnica
Coordinación y técnicaCoordinación y técnica
Coordinación y técnica
 
Reflexivos
ReflexivosReflexivos
Reflexivos
 
Social Media Marketing
Social Media MarketingSocial Media Marketing
Social Media Marketing
 
презентація М. Гмошинська "Художники в памперсах"
презентація М. Гмошинська "Художники в памперсах"презентація М. Гмошинська "Художники в памперсах"
презентація М. Гмошинська "Художники в памперсах"
 
3. eukaryotes, their structure & em
3. eukaryotes, their structure & em3. eukaryotes, their structure & em
3. eukaryotes, their structure & em
 
0625 s15 qp_33
0625 s15 qp_330625 s15 qp_33
0625 s15 qp_33
 

Similar a Field properties

Similar a Field properties (20)

Introduction TO Microsoft Access
Introduction TO Microsoft AccessIntroduction TO Microsoft Access
Introduction TO Microsoft Access
 
Datatypes, Field Properties, Validation and Masking
Datatypes, Field Properties, Validation and MaskingDatatypes, Field Properties, Validation and Masking
Datatypes, Field Properties, Validation and Masking
 
002.table
002.table002.table
002.table
 
Sterling Integrator Map Editor
Sterling Integrator Map EditorSterling Integrator Map Editor
Sterling Integrator Map Editor
 
Mql4 manual
Mql4 manualMql4 manual
Mql4 manual
 
Mql4 manual
Mql4 manualMql4 manual
Mql4 manual
 
Validation and input formatting
Validation and input formattingValidation and input formatting
Validation and input formatting
 
Visual Basic Fundamentals
Visual Basic FundamentalsVisual Basic Fundamentals
Visual Basic Fundamentals
 
012. SQL.pdf
012. SQL.pdf012. SQL.pdf
012. SQL.pdf
 
Access
AccessAccess
Access
 
MSAvMySQL.pptx
MSAvMySQL.pptxMSAvMySQL.pptx
MSAvMySQL.pptx
 
07 sap scripts
07 sap scripts07 sap scripts
07 sap scripts
 
SQL (Basic to Intermediate Customized 8 Hours)
SQL (Basic to Intermediate Customized 8 Hours)SQL (Basic to Intermediate Customized 8 Hours)
SQL (Basic to Intermediate Customized 8 Hours)
 
Functions data format
Functions data formatFunctions data format
Functions data format
 
2018 02 20_biological_databases_part2_v_upload
2018 02 20_biological_databases_part2_v_upload2018 02 20_biological_databases_part2_v_upload
2018 02 20_biological_databases_part2_v_upload
 
Sap script system_symbol
Sap script system_symbolSap script system_symbol
Sap script system_symbol
 
INTRODUCTION TO C
INTRODUCTION TO CINTRODUCTION TO C
INTRODUCTION TO C
 
Field Types
Field TypesField Types
Field Types
 
DBMS
DBMSDBMS
DBMS
 
1 data types
1 data types1 data types
1 data types
 

Más de Dastan Kamaran

Create table relationships
Create table relationshipsCreate table relationships
Create table relationshipsDastan Kamaran
 
Create table relationships
Create table relationshipsCreate table relationships
Create table relationshipsDastan Kamaran
 
Oop lecture1-chapter1(review of java)
Oop lecture1-chapter1(review of java)Oop lecture1-chapter1(review of java)
Oop lecture1-chapter1(review of java)Dastan Kamaran
 
Oop lecture1-chapter1(review of java)
Oop lecture1-chapter1(review of java)Oop lecture1-chapter1(review of java)
Oop lecture1-chapter1(review of java)Dastan Kamaran
 

Más de Dastan Kamaran (7)

Quiz 1
Quiz 1Quiz 1
Quiz 1
 
Q1 (a)
Q1 (a)Q1 (a)
Q1 (a)
 
Field properties
Field propertiesField properties
Field properties
 
Create table relationships
Create table relationshipsCreate table relationships
Create table relationships
 
Create table relationships
Create table relationshipsCreate table relationships
Create table relationships
 
Oop lecture1-chapter1(review of java)
Oop lecture1-chapter1(review of java)Oop lecture1-chapter1(review of java)
Oop lecture1-chapter1(review of java)
 
Oop lecture1-chapter1(review of java)
Oop lecture1-chapter1(review of java)Oop lecture1-chapter1(review of java)
Oop lecture1-chapter1(review of java)
 

Último

FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Delhi Call girls
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationBoston Institute of Analytics
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Sapana Sha
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...shivangimorya083
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknowmakika9823
 

Último (20)

FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project Presentation
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Decoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in ActionDecoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in Action
 
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
 

Field properties

  • 2. objectives • Field Formats • Input mask • Validation Rule • Validation text • Default value
  • 3. Format • The Format property affects only how data is displayed. It doesn't affect how data is stored. • You can use one of the predefined formats or you can create a custom format by using formatting symbols. • The Format property uses different settings for different data types. • You can use the format to customize the way numbers, dates, times, and texts are displayed or printed. Symbol Meaning (space) Display spaces as literal characters. "ABC" Display anything inside quotation marks as literal characters. ! Force left alignment instead of right alignment. * Fill available space with the next character. Display the next character as a literal character. You can also display literal characters by placing quotation marks around them. [colour] Display the formatted data in the colour specified between the brackets. Available colours: Black, Blue, Green, Cyan, Red, Magenta, Yellow, White.
  • 4. Format Property - Number and Currency Data Types You can create custom number formats by using the following symbols: Symbol Description . (period) Decimal separator. Separators are set in the regional settings in Windows. , (comma) Thousand separator. 0 Digit placeholder. Display a digit or 0. # Digit placeholder. Display a digit or nothing. $ Display the literal character "$". % Percentage. The value is multiplied by 100 and a percent sign is appended.
  • 5. Format Property - Number and Currency Data Types -You can use the format to customize the way numbers, dates, times, and texts are displayed or printed. -Custom format number can have one to four section with (;) as the list separator. Section Description First The format for positive numbers. Second The format for negative numbers. Third The format for zero values. Fourth The format for Null (Null: A value you can enter in a field or use in expressions or queries to indicate missing or unknown data.
  • 6. Format Property - Number and Currency Data Types Examples: $#,##0.00 £#,##0.00[Blue] +0.00;-0.00;0.00;”Null” 0;(0);;”Unknown” 00.00[Blue];(-00.00)[Red];”Zero”;”Empty”
  • 7. Format Property - Text and Memo Data Types Symbol Description @ Text character (either a character or a space) is required. & Text character is not required. < Force all characters to lowercase. > Force all characters to uppercase. You can create custom text and memo formats by using the following symbols.
  • 8. Format Property - Text and Memo Data Types Section Description First Format for fields with text. Second Format for fields with zero-length strings (zero-length string: A string that contains no characters. Custom formats for Text and Memo fields can have up to two sections. Each section contains the format specification for different data in a field.
  • 9. Format Property - Text and Memo Data Types Examples: @;”None” >;@[Blue];”Unknown”[Red] @[Green] <@[Blue];”Null”[Red]
  • 10. Format Property - Date/Time Data Type Symbol Description : (colon) Time separator (separator: A character that separates units of text or numbers.). Separators are set in the regional settings of Windows. / Date separator. c Same as the General Date predefined format. d Day of the month in one or two numeric digits, as needed (1 to 31). dd Day of the month in two numeric digits (01 to 31). ddd First three letters of the weekday (Sun to Sat). dddd Full name of the weekday (Sunday to Saturday). ddddd Same as the Short Date predefined format. dddddd Same as the Long Date predefined format. w Day of the week (1 to 7). ww Week of the year (1 to 53). m Month of the year in one or two numeric digits, as needed (1 to 12). mm Month of the year in two numeric digits (01 to 12). mmm First three letters of the month (Jan to Dec). mmmm Full name of the month (January to December). You can create custom date and time formats by using the following symbols.
  • 11. Format Property - Date/Time Data Type q Date displayed as the quarter of the year (1 to 4). y Number of the day of the year (1 to 366). yy Last two digits of the year (01 to 99). yyyy Full year (0100 to 9999). h Hour in one or two digits, as needed (0 to 23). hh Hour in two digits (00 to 23). n Minute in one or two digits, as needed (0 to 59). nn Minute in two digits (00 to 59). s Second in one or two digits, as needed (0 to 59). ss Second in two digits (00 to 59). ttttt Same as the Long Time predefined format. AM/PM Twelve-hour clock with the uppercase letters "AM" or "PM", as appropriate. am/pm Twelve-hour clock with the lowercase letters "am" or "pm", as appropriate. A/P Twelve-hour clock with the uppercase letter "A" or "P", as appropriate. a/p Twelve-hour clock with the lowercase letter "a" or "p", as appropriate. AMPM Twelve-hour clock with the appropriate morning/afternoon designator as defined in the regional settings of Windows
  • 12. Setting Display ddd", "mmm d", "yyyy Mon, Jun 2, 1997 mmmm dd", "yyyy June 02, 1997 "This is week number "ww This is week number 22 "Today is "dddd Today is Tuesday Example The following are examples of custom date/time format. Format Property - Date/Time Data Type
  • 13. Input mask - You can use the Input Mask property to make data entry easier and to control the values users can enter in a text box. - Input masks are helpful for data-entry operations such as an input mask for a Phone Number field that shows you exactly how to enter a new number: (___) ___-____. - When you've defined an input mask and set the Format property for the same field, the Format property takes precedence when the data is displayed. This means that even if you've saved an input mask, the input mask is ignored when data is formatted and displayed
  • 14. Character Description 0 Digit (0 to 9, entry required, plus [+] and minus [–] signs not allowed). 9 Digit or space (entry not required, plus and minus signs not allowed). # Digit or space (entry not required; spaces are displayed as blanks while in Edit mode, but blanks are removed when data is saved; plus and minus signs allowed). L Letter (A to Z, entry required). ? Letter (A to Z, entry optional). A Letter or digit (entry required). a Letter or digit (entry optional). & Any character or a space (entry required). C Any character or a space (entry optional). . , : ; - / Decimal placeholder and thousand, date, and time separators (separator: A character that separates units of text or numbers.). (The actual character used depends on the settings in the Regional Settings Properties dialog box in Windows Control Panel). < Causes all characters to be converted to lowercase. > Causes all characters to be converted to uppercase. ! Causes the input mask to display from right to left, rather than from left to right. Characters typed into the mask always fill it from left to right. You can include the exclamation point anywhere in the input mask. Causes the character that follows to be displayed as the literal character (for example, A is displayed as just A). You can define a custom input mask by using the following characters.
  • 15. Input mask Examples: Input mask Sample values (000) 000-0000 (206) 555-0248 (999) 999-9999 (206) 555-0248 ( ) 555-0248 (000) AAA-AAAA (206) 555-TELE #999 –20 2000 >L????L?000L0 GREENGR339M3 MAY R 452B7 >L0L 0L0 T2F 8M4 00000-9999 98115- 98115-3007 >L<?????????????? Maria Brendan SSN 000-00-0000 SSN 555-55-5555 >LL00000-0000 DB51392-0493
  • 16. Validation Rule • You can use the Validation Rule property to specify requirements for data entered into a record, field, or control. When data is entered that violates the Validation Rule setting, you can use the Validation Text property to specify the message to be displayed to the user. • The maximum length for the Validation Rule property setting is 2048 characters. • Microsoft Access automatically validates values based on a field's data type; for example, Microsoft Access doesn't allow text in a numeric field. You can set rules that are more specific by using the Validation Rule property. • If you create a validation rule for a field, Microsoft Access doesn't normally allow a Null value to be stored in the field. If you want to allow a Null value, add "Is Null" to the validation rule, as in "<> 8 Or Is Null" and make sure the Required property is set to No.
  • 17. Validation Rule and text examples Validation Rule property Validation Text property <> 0 Entry must be a nonzero value. > 1000 Or Is Null Entry must be blank or greater than 1000. Like "A????" Entry must be 5 characters and begin with the letter "A". >= #1/1/96# And <#1/1/97# Entry must be a date in 1996. >=18 And <=35 Entry must be between 18 and 35 including both numbers.
  • 18. Default value • Specifies a value that is automatically entered in a field when a new record is created. For example, in an Addresses table you can set the default value for the City field to Sulaimani. When users add a record to the table, they can either accept this value or enter the name of a different city. • The Default Value property applies to all table fields except those fields with the data type of AutoNumber or OLE Object. • The Default Value property is applied only when you add a new record. If you change the Default Value property, the change isn't automatically applied to existing records.