SlideShare une entreprise Scribd logo
1  sur  3
Created by Julie Hodgson, year 13 ICT student


                              Using a calendar in a form

        To insert a calendar
1.1 Create a new form in design view.

1.2 Find the toolbox which looks like this:


If it does not open automatically, click on this button




1.3 To insert a calendar to your blank form click on this button which is called more
    controls.

Scroll down the list and click on ‘Calendar Control 9.0’. You will have to click and
drag the mouse button over the area where you wish your calendar to be placed.

When you are happy with the size of the calendar take your finger off of the mouse
button and this should appear:


                           If you are unhappy with the size of your calendar, click
                           on the black boxes and resize until you are satisfied. If
                           you are unhappy of the position of your calendar click the
                           top left hand black box and you will be able to move the
calendar to where you want on the form.

To use a text box in conjunction with a calendar in a form

Follow the whole of stage1, now you should have a calendar on a form looking like
this:

To add a text box you may have to make the form bigger, if so click on the edges of
the form and resize.


To insert a text box:
2.1 Find the toolbox again, and click on the text box button.
You will have to click and drag the mouse pointer over the form itself until you are
happy with its size. When you have taken your finger off of the mouse this will
appear:




To update the box with the date from the calendar

3.1 Right click anywhere on the calendar. This will bring up a list, on which you need
    to click on properties.




You should always rename objects within a form through the properties menu.
To rename this calendar, the ‘name’ box should be highlighted in the ‘all’ tab, if not
click on it.

Replace the name ‘ActiveXCtl0’ with ‘calendar’

3.2 Then right click the text box and go down to properties, and do the same. This
    time the name in the text box should read ‘text1’ rename the box ‘textbox’, note
    that there are no spaces in the ‘textbox’ name.

Quick hints

         •    When making multiple text boxes or calendars, you should name them
              all differently. I suggest you number them. E.g. text box 1, calendar 2.

         •    You can rename the objects within a form anything that you want to, but
              to perform macros and other difficult processes it is easier to keep the
              names simple as then they are easier to remember.

3.3 Right click the calendar again and go to the ‘build event…’ option. You will be
    presented with a screen that looks like this:

This is where you will need to type in a code that will update the text box with a date
every time you click on a date on the calendar.
This means that the database will perform the task when you click on the calendar

3.4 The code

The code itself is: Me!textbox=calendar

What this code does is tells your database that you want the text box value to equal
the calendar value.

Breaking down the code

The code is made up from your calendar name and text box name.

‘Me!’ Tells your database that when you click on the calendar it is supposed to
       perform a task.

‘Text box’ would be the name of your text box

‘=‘ This tells the database that you want the two objects to have equal values

‘Calendar’ would be the name of your calendar


You need to type the code in here:




Type the code in without the use of capital letters, then after you have typed in the
code press enter. If the ‘me’ turns into a ‘Me’, then you have typed in the code
correctly.

Now when you have the form in form view click on alternate buttons on the calendar
to see if the text box is updated each time.




                                                                                        The calendars
                                                                                        box should turn
                                                                                        grey and the text
                                                                                        box should
                                                                                        update itself

Contenu connexe

Similaire à Calendar (12)

Session 1
Session 1Session 1
Session 1
 
12)adding tab controls to forms
12)adding tab controls to forms12)adding tab controls to forms
12)adding tab controls to forms
 
AdvancedWord02
AdvancedWord02AdvancedWord02
AdvancedWord02
 
Microsoft Excel 2007 Tutorial
Microsoft Excel 2007 TutorialMicrosoft Excel 2007 Tutorial
Microsoft Excel 2007 Tutorial
 
week 2.docx
week 2.docxweek 2.docx
week 2.docx
 
75 tips and_tricks_excel_reduced
75 tips and_tricks_excel_reduced75 tips and_tricks_excel_reduced
75 tips and_tricks_excel_reduced
 
Open Office Calc : Lesson 05
Open Office Calc : Lesson 05Open Office Calc : Lesson 05
Open Office Calc : Lesson 05
 
OpenCastLabs Excel chapter-3
OpenCastLabs Excel chapter-3OpenCastLabs Excel chapter-3
OpenCastLabs Excel chapter-3
 
Open Office Calc : Lesson 06
Open Office Calc : Lesson 06Open Office Calc : Lesson 06
Open Office Calc : Lesson 06
 
Illahi bux jagirani
Illahi bux jagiraniIllahi bux jagirani
Illahi bux jagirani
 
How to make Gantt chart in Excel
How to make Gantt chart in ExcelHow to make Gantt chart in Excel
How to make Gantt chart in Excel
 
04.ms excel
04.ms excel04.ms excel
04.ms excel
 

Plus de JTHSICT

Plus de JTHSICT (18)

E book example
E book exampleE book example
E book example
 
Literacy glossary
Literacy glossaryLiteracy glossary
Literacy glossary
 
Lookup table
Lookup tableLookup table
Lookup table
 
Doublebookings2
Doublebookings2Doublebookings2
Doublebookings2
 
Doublebookings1
Doublebookings1Doublebookings1
Doublebookings1
 
Password
PasswordPassword
Password
 
Macros
MacrosMacros
Macros
 
Naming conventions
Naming conventionsNaming conventions
Naming conventions
 
Access1
Access1Access1
Access1
 
Access2
Access2Access2
Access2
 
Access3
Access3Access3
Access3
 
Access2
Access2Access2
Access2
 
Access1
Access1Access1
Access1
 
Access5
Access5Access5
Access5
 
Access4
Access4Access4
Access4
 
Validation
ValidationValidation
Validation
 
Normalization
NormalizationNormalization
Normalization
 
It4 Coursework Help
It4 Coursework HelpIt4 Coursework Help
It4 Coursework Help
 

Dernier

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Dernier (20)

Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 

Calendar

  • 1. Created by Julie Hodgson, year 13 ICT student Using a calendar in a form To insert a calendar 1.1 Create a new form in design view. 1.2 Find the toolbox which looks like this: If it does not open automatically, click on this button 1.3 To insert a calendar to your blank form click on this button which is called more controls. Scroll down the list and click on ‘Calendar Control 9.0’. You will have to click and drag the mouse button over the area where you wish your calendar to be placed. When you are happy with the size of the calendar take your finger off of the mouse button and this should appear: If you are unhappy with the size of your calendar, click on the black boxes and resize until you are satisfied. If you are unhappy of the position of your calendar click the top left hand black box and you will be able to move the calendar to where you want on the form. To use a text box in conjunction with a calendar in a form Follow the whole of stage1, now you should have a calendar on a form looking like this: To add a text box you may have to make the form bigger, if so click on the edges of the form and resize. To insert a text box: 2.1 Find the toolbox again, and click on the text box button.
  • 2. You will have to click and drag the mouse pointer over the form itself until you are happy with its size. When you have taken your finger off of the mouse this will appear: To update the box with the date from the calendar 3.1 Right click anywhere on the calendar. This will bring up a list, on which you need to click on properties. You should always rename objects within a form through the properties menu. To rename this calendar, the ‘name’ box should be highlighted in the ‘all’ tab, if not click on it. Replace the name ‘ActiveXCtl0’ with ‘calendar’ 3.2 Then right click the text box and go down to properties, and do the same. This time the name in the text box should read ‘text1’ rename the box ‘textbox’, note that there are no spaces in the ‘textbox’ name. Quick hints • When making multiple text boxes or calendars, you should name them all differently. I suggest you number them. E.g. text box 1, calendar 2. • You can rename the objects within a form anything that you want to, but to perform macros and other difficult processes it is easier to keep the names simple as then they are easier to remember. 3.3 Right click the calendar again and go to the ‘build event…’ option. You will be presented with a screen that looks like this: This is where you will need to type in a code that will update the text box with a date every time you click on a date on the calendar.
  • 3. This means that the database will perform the task when you click on the calendar 3.4 The code The code itself is: Me!textbox=calendar What this code does is tells your database that you want the text box value to equal the calendar value. Breaking down the code The code is made up from your calendar name and text box name. ‘Me!’ Tells your database that when you click on the calendar it is supposed to perform a task. ‘Text box’ would be the name of your text box ‘=‘ This tells the database that you want the two objects to have equal values ‘Calendar’ would be the name of your calendar You need to type the code in here: Type the code in without the use of capital letters, then after you have typed in the code press enter. If the ‘me’ turns into a ‘Me’, then you have typed in the code correctly. Now when you have the form in form view click on alternate buttons on the calendar to see if the text box is updated each time. The calendars box should turn grey and the text box should update itself