Completely New To Access, Need advice

zoog25

Active Member
Joined
Nov 21, 2011
Messages
418
Hello all,

I need help getting started with access. Here is the situation. A while back we had an employee who developed an access program that would look at pdf drawing files that were transfered to folder a and would then check the appropriate job fold located on our server. If the drawing names matched then it would replace those drawings.

The file names follow this structure "xxx-xx" there the left side of the "-" is the drawing number and the right side is the version.

I want to try my best to recreate that program but i'm not familiar with access. I do know how to do excel programming, but I want try working with excel on this since it worked before.

Anyways any advice as to where I can look for info to start or anyone can help. That would be great.
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
On the surface, I would say there are a handful of different "components" and skill-sets you will put together to write that type of program in Access/VBA:

1) You need to learn how to read files from the file system. I typically use the FileSystemObject library in VBA. You can use that object to loop through all files in a particular folder, and then take action depending on the file name. More info on the FileSystemObject library may be found at: Accessing Files with FileSystemObject

2) You will also need to know how to update data from a database using DAO. Here's a good starting reference: How to: Modify an Existing Record in a DAO Recordset [Access 2007 Developer Reference]

3) Understanding control flow constucts, such as IF...THEN, DO...WHILE, FOR...EACH, etc., will also be quite useful as you process each file: Chapter 2: The Basics of Writing and Testing VBA Code (Part 2 of 2)

4) Depending on how complex your updates are or if you need to reference data from the database as you are processing your files, you may need to brush up on some SQL syntax. Here's a good primer: SQL Introduction

5) Lastly, an understanding of table and form design will be helpful. Access help should get you started on this one.

Hope that helps!
 
Upvote 0
Before you start trying to design any kind of project that is more than just a simple task, the first thing you should do is make sure you understand the concepts of Relational Databases and the Rules of Normalization. If you do not design your database with these concepts in mind, you can quickly program yourself into a corner and cause yourself a lot of unnecessary grief (been there, done that).

Here is a good link on those topics: Fundamentals of Relational Database Design
 
Upvote 0
Before you start trying to design any kind of project that is more than just a simple task, the first thing you should do is make sure you understand the concepts of Relational Databases and the Rules of Normalization.

Great add!
 
Upvote 0
Hello all,

I have reasonable VBA skill, but none on Access. My question is more fundamental. Would I gain improvements in performance and functionality going this route? My Spreadsheets are becoming bulky. I have good performance once I have abstracted the data from the spreadsheet.

My project revolves around commodity futures and options strategy backtesting.
 
Upvote 0

Forum statistics

Threads
1,221,893
Messages
6,162,662
Members
451,781
Latest member
DylantheD

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top