programming???

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Our business recently obtained Access for the sole purpose of implementing a couple of large databases (for maintaining freight info, etc.). Through people's help, I've managed to build the tables, queries, and forms (I'm working on reports now). One thing that I keep seeing on this listing is questions about programming. I was wondering where it gets used in the program, and where you can learn how to do it at. I had to have some help figuring out how to setup a table to do a pulldown list, and if not for the people in here, I never would've known how to do any of that even, and I know that Access can be much more complicated. If anyone else has had these thoughts and issues has any good suggestions where you can figure out how to learn to do some of this stuff, please let me know.

Thanks!
 
Access has a VBA programming environment just like all the other Office
applications. You can get to it by hitting cntr-g, or by hitting alt+F11, or
by creating an event on a form control and clicking the little "..." button
next to it in the properties window, or an of a number of other ways. You
can write individual modules that have reusable functions in them, or you
can write code behind specific form events such as button clicks or field
changes or any of a large number of others. However, with all that in mind,
there are a LOT of things you can do in Access without coding a single line.
If you are able to meet your needs using the functionality that Access gives
you without resorting to code, do so. That's what Access is for. Use code
only if you need to do some kind of custom action that you just can't seem
to do anywhere else in Access. Some of us that make our livings coding
resort to code too quickly when it would have been much simpler to have just
used built-in functionality.

If you want resources on coding VBA / Access there are a number of books out
there on the subject including some that specialize on Access, and there is
also the Microsoft Visual Basic help system (it is adequate as a reference
for some things, poor in other places, and not great to get you started if
this is your first trip into coding). There is also always an online search
as well, although if you are really going to learn how to become an Access
power user with code and everything, you should learn how to do it right and
not just copy/paste code from others that you really don't understand (a lot
of people get themselves tied into all kinds of bad knots doing that). It
probably won't do you a ton of good to delve into code before you have a
good solid understanding of Access itself. Learn how to make forms with the
various kinds of controls, reports, queries, learn a little SQL, THEN try
VBA coding. The VBA code won't make much sense unless you know the other
things, and it may just confuse you further in that case.

If you have any specific questions, just let us know.
--
Bryan Reich
Microsoft Office
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


rawley said:
Our business recently obtained Access for the sole purpose of implementing
a couple of large databases (for maintaining freight info, etc.). Through
people's help, I've managed to build the tables, queries, and forms (I'm
working on reports now). One thing that I keep seeing on this listing is
questions about programming. I was wondering where it gets used in the
program, and where you can learn how to do it at. I had to have some help
figuring out how to setup a table to do a pulldown list, and if not for the
people in here, I never would've known how to do any of that even, and I
know that Access can be much more complicated. If anyone else has had these
thoughts and issues has any good suggestions where you can figure out how to
learn to do some of this stuff, please let me know.
 
rawley said:
One thing that I keep seeing on this
listing is questions about programming.
I was wondering where it gets used in
the program, and where you can learn
how to do it at.

I don't want to be discouraging, but I must caution that "Programming" is
not a pick-it-up-quick-overnight thing. Many people invest in a college
education in computer science and still come out as "entry-level"
programmers; others invest months and years to become what others regard as
"expert" level.

That said, you have chosen just about the easiest development tool to learn
programming, because you can "ease into it" -- that is, you can create an
application with a great deal of functionality without any code (a friend
created one that has been used to track all the food purchasing and
deliveries for the food service of a major metropolitan school district --
he says that the only code in that database was generated by the control
wizards), and then you can sprinkle just enough code behind the forms to
make it work smoothly, handle errors, and do a few things you need that
Access doesn't do automatically.

Some time and effort with self-study books might be a good investment. Here
are some suggestions for books:

For the raw novice, _Microsoft Access <versionnumber> Step by Step_
published by Microsoft Press. Some other books that begins at the beginning
and go deeper are _Special Edition - Using Microsoft Access_ by Roger
Jennings, published by Que and _Microsoft Access Inside Out" by John L.
Viescas, published by Microsoft Press.

For the power user moving to developer level, _Programming Microsoft Access
2000_ or _Programming Microsoft Access 2002_, by Rick Dobson, published by
Microsoft Press. There is a 2003 edition that I haven't seen, but I would
guess that it would be good, too.

The consensus choice for a detailed, in-depth reference for developers is
_Access <versionnumber> Developer's Handbook_ by Litwin, Getz, et al,
published by Sybex.

For information on other resources available to help, visit the Resources
section of http://ntaccess.tripod.com.
 
Back
Top