Solved

Excel MSAccess Tricks  2003 and code

Posted on 2012-03-29
5
273 Views
Last Modified: 2012-04-09
I am looking for code examples from experts where the code has greatly helped a programming problem.  A particular trick that you can share that would be helpful with MSAccess or Excel.  Code that would be helpful.  Example and sample database appreciated.  Thank you!
0
Comment
Question by:leezac
  • 3
5 Comments
 
LVL 61

Assisted Solution

by:mbizup
mbizup earned 167 total points
ID: 37782560
Hav you browsed through EE Articles in the Access and Excel areas?

There are some great tips/tricks out there written by EE Experts.

I've got my own article with a sample included:
http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_19-BOM-parts-list-expansion.html

But there are many, many more out there.  For Access & Excel, explained in easy terms (with samples in many cases), I highly recommend looking at articles by TechMommy, harfang, matthewspatrick, JimDettman...


And this is a neat sample and solution provided by an "Asker" (I just shared this link in another question a couple of minutes ago):
http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q_27512608.html
0
 
LVL 57
ID: 37782657
That's a firaly wide open question; I can think of lot's of things to do that would fill a small book.

  Did you have a specific area in mind or a specific problem?

Jim.
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 333 total points
ID: 37783532
I'm with Jim...

In addition, some people simply regard things that the recently learned as "Tricks or Tips", but theses things may have existed all along.

ex. instead of doing this:
txtCustID.ForeColor=255
(This syntax requires you to spell the name of the control correctly)

...you can use the ME. keyword and let intellisense "autoList" the members.
Me.txtCustID.ForeColor=255

So again, you need to be specific...


The best "Tip" I can think of is to not worry about VBA code if you do not have a solid foundation in database design.
Many members here try to use Automation to fix poor designs...

Another tip?:
Post your code
*Describe in detail what is doing, and why*
Ask Experts for advice on streamlining it.

And no matter how prestigious the expert, no matter what their ranking, ... *Always* ask for an explanation of any code you do not understand.
See the Rule #8  here:
http://www.accessmvp.com/djsteele/AccessTenCommandments.html
"Don't copy and paste other people's code without at least attempting to understand what it does. "

JeffCoachman
0
 
LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 333 total points
ID: 37783548
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 37825112
Besides, there are almost 2 million hits for "MS Access Tips and Tricks" when doing a Google search...
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question