Your SlideShare is downloading. ×
CIS 245 Final Review
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.


Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

CIS 245 Final Review


Published on

Published in: Education, Technology

  • Be the first to comment

  • Be the first to like this

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

No notes for slide


  • 1.  Provide meaningful title Organize fields logically Use appealing form layout Include familiar field labels Be consistent with terminology and abbreviations
  • 2.  Allow for convenient cursor movement Prevent and correct errors Include explanatory messages for fields
  • 3.  Bound form has a Record Source  Displays data from fields in record source Unbound forms  Do not have record source  Designed to help users navigate through database
  • 4.  Subform is a form embedded in another form Primary form (called main form)  Usually has one-to-many relationship with data in subform Main form and subform linked  Subform displays only records that related to current record in main form
  • 5.  Command buttons  Users click to perform common tasks  Can contain Text, Icons, Graphics Create  Using Command Button Wizard  By adding button to form then setting properties Beconsistent when creating command buttons  Location on form  Order
  • 6.  Formcreated with form tool or Form Wizard  Places fields in order they appear in table design After fields are rearranged for more logical data entry, correct tab order Test each form!
  • 7.  Way to change query „on the fly‟ Can use prompt for user Can get information from form controls  Forms!FormName!ControlName
  • 8.  List controls: set rowsource  Listbox  Combobox Forms: set recordsource Reports: set recordsource Remember to requery!  Find right event to respond to
  • 9.  Grouping: When RecordSource has all of the data needed, and all needed records are included Sub-reports: When need data that‟s not part of RecordSource OR RecordSource wouldn‟t include all records Use CanGrow, CanShrink
  • 10.  Limitednumber Most deal with laying out and formatting data Use NoData instead of showing an empty report
  • 11.  Also called Domain Aggregate Functions Allows creation of summary information without a query  DCount  DSum  DMax
  • 12.  Need a field to work with Need to specify where the field is found (table or query) Can optionally add a „where‟ clause to limit the records includedDCount(“PatientID”,”Visits”,”Total<100”)
  • 13.  Have to choose which event to respond to Events can be generated by the user or changes in data or objects
  • 14.  Many commands start with „DoCmd‟ Code is organized into procedures  Property Procedures  Functions  Subroutines Procedures can use arguments to pass data Use With … End With when referring to an object several times
  • 15.  Two methods to reference “owned” objects Use ! (bang) if referring to a control in a query In code, can use both ! (bang) and . (dot)  If referring to fields in a recordsource, use !  If referring to controls can use either
  • 16.  Scope: How long a variable lasts and where it can be accessed Forcing declaration: Option Explicit Objects: Can represent more than just basic data, can create object variables  Need to create an instance – New keyword  Use Set to make an assignment
  • 17.  Most objects are members of some group A collection is a group of like objects  Forms collection holds all forms  A form‟s controls collection holds all controls that belong to that form
  • 18.  Branching (what‟s next?)  If-Then  Select Case Loops (repeating a task)  For … Next  For .. Each  Do While  Do Until
  • 19.  Optional argument for many commands When opening a form or report, can limit the records to be used, even if the recordsource is a table DoCmd.OpenForm “frmName”,,,”field=1”
  • 20.  Logic errors  Runs but doesn‟t give the right results Syntax errors  Compiler can‟t process your code Run-time errors  Problem happens during execution  Use On Error to respond to
  • 21.  ADO: ActiveX Data Objects  For working with data  Not hierarchical ADOX: ADO Extensions  For working with database  For security and database DAO: Data Access Objects  For working with data  Used in Forms, Reports by Access  Hierarchical (must know how each item fits in relation to others)
  • 22.  Connection: „pipe‟ for moving data Command: what data to work with Recordset: local copy of data from a table or query