+ All Categories
Home > Documents > CSC408 Management Information System Creating Forms Web viewLogo: Form logo.Now you have a form name...

CSC408 Management Information System Creating Forms Web viewLogo: Form logo.Now you have a form name...

Date post: 06-Feb-2018
Category:
Upload: vophuc
View: 217 times
Download: 1 times
Share this document with a friend
9
CSC408 Management Information System Creating Forms TIPS! Listed below are some tips that will help you to design your form. Enabling Macro Content Some databases contain Microsoft Visual Basic for Applications (VBA) macros that can run code on your computer. In most cases, the code is there to perform a database-related task, but hackers can also use macros to spread a virus to your computer. When you open a database containing one or more macros, if the database is not stored in a Trusted Location or signed by a Trusted Publisher, Access displays a security warning just below the Ribbon. While the security warning is displayed, the macros in the database are disabled. You can enable macros in three ways: By enabling the macros in the database for use in the current database session. By adding the database publisher to a list of Trusted Publishers. Access will automatically enable macro content in any database signed by that publisher. By placing the database in a Trusted Location, or adding the current database location to the list of trusted locations. Access automatically enables macro content in any database saved in a trusted location. The trusted locations you specify within Access are not automatically trusted by other Office programs. SNI2012 Page 1
Transcript
Page 1: CSC408 Management Information System Creating Forms Web viewLogo: Form logo.Now you have a form name biscuit. Right Click the biscuit form object, and then select Design view in order

CSC408 Management Information System Creating Forms

TIPS!Listed below are some tips that will help you to design your form.

Enabling Macro Content

Some databases contain Microsoft Visual Basic for Applications (VBA) macros that can run code on your computer. In most cases, the code is there to perform a database-related task, but hackers can also use macros to spread a virus to your computer.

When you open a database containing one or more macros, if the database is not stored in a Trusted Location or signed by a Trusted Publisher, Access displays a security warning just below the Ribbon.

While the security warning is displayed, the macros in the database are disabled. You can enable macros in three ways:

By enabling the macros in the database for use in the current database session.

By adding the database publisher to a list of Trusted Publishers. Access will automatically enable macro content in any database signed by that publisher.

By placing the database in a Trusted Location, or adding the current database location to the list of trusted locations. Access automatically enables macro content in any database saved in a trusted location. The trusted locations you specify within Access are not automatically trusted by other Office programs.

SNI2012 Page 1

Page 2: CSC408 Management Information System Creating Forms Web viewLogo: Form logo.Now you have a form name biscuit. Right Click the biscuit form object, and then select Design view in order

CSC408 Management Information System Creating Forms

Creating Form with graphical design facilities in Access DBMS

Create a form by using the Form tool

You can use the Form tool to create a form with a single mouse-click. When you use this tool, all the fields from the underlying data source are placed on the form. You can begin using the new form immediately, or you can modify it in Layout view or Design view to better suit your needs.

Use the Form tool to create a new form

In the Navigation Pane, click the table or query that contains the data you want to see on your form.

On the Create ribbon, in the Forms group, click Form.

Access creates the form and displays it in Layout view. In Layout view, you can make design changes to the form while it is displaying data. For example, you can adjust the size of the text boxes to fit the data, if necessary.

If Access finds a single table that has a one-to-many relationship with the table or query that you used to create the form, Access adds a datasheet to the form that is based on the related table or query.

You can delete the datasheet from the form if you decide you do not need it. If there is more than one table with a one-to-many relationship to the table that you used to create the form, Access does not add any datasheets to the form.

SNI2012 Page 2

Page 3: CSC408 Management Information System Creating Forms Web viewLogo: Form logo.Now you have a form name biscuit. Right Click the biscuit form object, and then select Design view in order

CSC408 Management Information System Creating Forms

Create a form by using the Form Wizard

To be more selective about what fields appear on your form, you can use the Form Wizard instead of the various form-building tools.

You can also define how the data is grouped and sorted, and you can use fields from more than one table or query, provided that you specified the relationships between the tables and queries beforehand.

On the Create ribbon, in the Forms group, click More Forms, and then click Form Wizard.

Follow the directions on the pages of the Form Wizard.

Note    If you want to include fields from multiple tables and queries on your form, do not click Next or Finish after you select the fields from the first table or query on the first page of the Form Wizard. Instead, repeat the steps to select a table or query, and click any additional fields that you want to include on the form. Then click Next or Finish to continue.

On the last page of the wizard, click Finish.

SNI2012 Page 3

Page 4: CSC408 Management Information System Creating Forms Web viewLogo: Form logo.Now you have a form name biscuit. Right Click the biscuit form object, and then select Design view in order

CSC408 Management Information System Creating Forms

Creating form: Form tool1. Open database biscuitDB.2. To create a new form, select Create Form. Make sure your are pointing at the table that

you would like to build the form.

3. A new form will appear. Save the form with a name that related to the data source.

SNI2012 Page 4

Auto Format: Use as template

of the form.Choose your

format first before continue editing the form.

Data: Data from table

biscuit.

Data: Data from table

order.Delete it.

Page 5: CSC408 Management Information System Creating Forms Web viewLogo: Form logo.Now you have a form name biscuit. Right Click the biscuit form object, and then select Design view in order

CSC408 Management Information System Creating Forms

4. Now you have a form name biscuit. Right Click the biscuit form object, and then select Design view in order to construct the form design.

5. You can use the Controls group in order to make you form more interesting and user friendly. You can add static text (using Label), button (using button icon), line(using line icon), static image (using image icon) and others object.

6. MS Access use concept drag and drop. This means, when you want to put an object into the form, just simply drag the icon and drop it into your form. Then you can start editing the format of the object or form.

SNI2012 Page 5

Attribute name: Field name of the table.You can edit and change the attribute

name.

Attribute value: Value of your attribute in the table.You cannot edit the attribute.

Label: Static text in form. You can use to

add extra text like title in your form.

Button: For adding

navigation button control in your form.

Image: For adding image in

your form.

Title: Auto generates

title of the form.Example of label

used.

Logo: Form logo.

Page 6: CSC408 Management Information System Creating Forms Web viewLogo: Form logo.Now you have a form name biscuit. Right Click the biscuit form object, and then select Design view in order

CSC408 Management Information System Creating Forms

7. In order to edit object in your form, you must change to Design view. Then, right click at the object to be edited, a properties dialog box will appear.

Navigation Button Navigation button allow user to interact with your database system. To make a navigation button, you can simply go to Design Button Drag the

icon button into your form. Then a Command Button Wizard dialog box will appear.(Only one dialog box will appear at a time)

To use the record navigation or record operators, simply choose their actions, click Next and follow the instruction.

In order to make a blank button, drags the button icon, then click cancel within the Command Button Wizard dialog box.

Example:

SNI2012 Page 6

Object Name: Object name that associated with

the form.Click the drop down list to view the

object. Select the right object to be edited.

Object Properties: Properties of the object

that you can edit.

Record Navigation: You can edit your record

navigation, like: Go to next record Got to previous record

Page 7: CSC408 Management Information System Creating Forms Web viewLogo: Form logo.Now you have a form name biscuit. Right Click the biscuit form object, and then select Design view in order

CSC408 Management Information System Creating Forms

Form for each table in biscuitDB database.

Form biscuit Form customer Form order

A menu form which included with the following button as the front page of the system.

form menu

Yours Task

Create and design forms for your system. Make sure it is user friendly and included with the necessary button for navigation. Sketch your

system form layout before starting designs them.

SNI2012 Page 7


Recommended