access and vb which one should you use for database application development? a presentation for the...

13
Access and VB Which One Should You Use for Database Application Development? A Presentation for the Application Developer Issues SIG of the North Texas PC User Group by Larry Linson . © Copyright 2001 by L.M. Linson, all rights reserved

Upload: candace-lucas

Post on 25-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Access and VB Which One Should You Use for Database Application Development? A Presentation for the Application Developer Issues SIG of the North Texas

Access and VBWhich One Should You Use for

Database Application Development?

A Presentation for the

Application Developer Issues SIG

of the North Texas PC User Group

by Larry Linson.

© Copyright 2001 by L.M. Linson, all rights reserved

Page 2: Access and VB Which One Should You Use for Database Application Development? A Presentation for the Application Developer Issues SIG of the North Texas

Our “assignment”

Strengths and Weaknesses When to use VB – When Access Why we prefer one over the other

Discuss:

Page 3: Access and VB Which One Should You Use for Database Application Development? A Presentation for the Application Developer Issues SIG of the North Texas

What is Access?

A Database Management System (DBMS)

A Database Development Tool– Standalone Applications

– Multi-user Applications

– Client Application to Server Databases

Page 4: Access and VB Which One Should You Use for Database Application Development? A Presentation for the Application Developer Issues SIG of the North Texas

What is Visual Basic? An Application Generator with

Database Capabilities A Database Development Tool

– Standalone Applications

– Multi-user Applications

– Client Application to Server Databases

– Enterprise Distributed Applications

Page 5: Access and VB Which One Should You Use for Database Application Development? A Presentation for the Application Developer Issues SIG of the North Texas

Databases for Both Jet Database Engine (.MDB)

– Included MSDE (stripped-down SQL Server)

– Included, “Optimized for five users” SQL Server Developer Edition

– Comes with Office SR-1 Server Databases, various

– via ODBC or ADO data providers or RDO

Page 6: Access and VB Which One Should You Use for Database Application Development? A Presentation for the Application Developer Issues SIG of the North Texas

Creating an Application

Point and Click a User Interface Use Bound or Unbound Controls Add Code

– To make it work

– To make it work smoothly Test, Fix, and Release

Page 7: Access and VB Which One Should You Use for Database Application Development? A Presentation for the Application Developer Issues SIG of the North Texas

So Far, More . . .

Similaritiesthan

Differences

Page 8: Access and VB Which One Should You Use for Database Application Development? A Presentation for the Application Developer Issues SIG of the North Texas

Strengths of Access User-friendly Query Builder Native Bound Controls Some More-Capable Native Controls

– ComboBox with AutoExpand and Multiple Fields

Richer DB Event Model– BeforeUpdate, BeforeInsert, AfterUpdate

Access Reporting Auto-Keys Macro Capability

Page 9: Access and VB Which One Should You Use for Database Application Development? A Presentation for the Application Developer Issues SIG of the North Texas

Strengths of VB

Close control over User Interface Smaller memory, disk footprint Compile to machine executable Better for COM Components More Custom Controls available Better known and accepted

Page 10: Access and VB Which One Should You Use for Database Application Development? A Presentation for the Application Developer Issues SIG of the North Texas

Weaknesses?

Both are strong, just different

( IMNSHO,of course )

Page 11: Access and VB Which One Should You Use for Database Application Development? A Presentation for the Application Developer Issues SIG of the North Texas

Database ContinuumAccess Visual Basic

RAD Jet DBs Straight Client-Server Enterprise

Normal Business DB Complex UISimple UI

Mixed Calculation IntensiveData Intensive

(Know Both) You Know VBYou Know Access

Size and PolishTime and Effort (Balance)

Client says “VB”Client says “Access”

Page 12: Access and VB Which One Should You Use for Database Application Development? A Presentation for the Application Developer Issues SIG of the North Texas

Why I * Use Access

Apps in the Access Zone Apps in the Overlap Zone I know Access better Clients come to me for Access *

* mostly

Page 13: Access and VB Which One Should You Use for Database Application Development? A Presentation for the Application Developer Issues SIG of the North Texas

The Future

Jet is “in maintenance” No more ADO development for Jet Licensing model changes XML Everywhere VB’s future = VB.NET Access XP < > Access.NET Crystal Ball is CLOUDY