473,399 Members | 3,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

[General] Database Design for a new Engineer

Good afternoon everyone,

My name is Nick and I am a fresh out-of-college Mechanical Engineer working for an automotive supplier. Unfortunately, my first task at my new job was to build a database to store information on our bench-marked parts. It's a small and simple project (and one that would probably take an experienced developer an hour), but I'm still pulling my hair out after a few days work! I am good with computers and the majority of the MS Office suite, but have never built a database or worked with code. I have been reading and reading and studying and trying to make my database work the right way, but am still having no luck in some areas. In fact, it took me the better part of a day just to get the code down for the 'notinlist' function, cascading combo boxes, and a command button to add a vehicle. I came to this website because I found much of the code I am using here and there were many, many threads I read regarding simple issues. I actually considered hiring a developer to help me make a good first impression but no one will work for the short amount of time this will take!




Some overview on the database:

- I have two MAIN tables - tblVehicleOverview and tblPartOverview. These two tables store exactly what you think they would; vehicle and part information. They are linked 1-1 by an auto numbered ID field.

- I have 1 form with two tabs. One is for, yep, you guessed it, vehicle info and the other for part info.

- The first tab of my form is working well (Vehicle Overview). I have managed to get my cascading combo-box's to work which will first select the make and then the vehicle model. I have also managed to get a command button that will add a new vehicle to the 'tblMakeModel' table I have created. All of my drop-down combo-box's relating back to my overview table are working great as well.



My issues begin in the second tab of my form, 'Part Overview'. For starters, I am pulling some information off the first tab (model year, basic vehicle info, component being bench marked, etc) into text box's so that the user will have that while entering the part information. All of it appears to work except for the 'component name' box - it shows up as the ID number instead of the actual name.

The second issue is the BIG one. All of my text box's/combo-box's in the 'part overview' tab are linked back to the 'tblPartOverview,' but all the textbox's display "#Name?". Even worse, these box's do not appear to be associating themselves with the vehicle record in the first tab! If I select something in one of the combo-box's that is working (for instance, exchanged type as 'fin & tube) then move to the next record, it all stays.

Because I am having a very difficult time describing this problem, I attached the file for anyone that may have the time to take a look at. Like I said, I'm sure anyone on this website could build this thing in an hour, so I thought it would be easier to get what I'm trying to say across by giving you guys/gals a link.

I'm very sorry for the long post and having to post a download link. I'm out of ideas and while I know the right way to create this database is to use Access, I make have to just go back to Excel because that's what I know I can make work. I read the rules to the forum and believe I followed them all, but if there is an issue, have a moderator delete this! If anyone could take a few minutes out of their day to take a look at my work, I'd appreciate it more than you would know.
Attached Files
File Type: zip progress.zip (330.9 KB, 63 views)
May 17 '10 #1

✓ answered by nkasaba

Smiley,

Thanks a TON for taking a look at it. I'm going to re-read your post when I get home and can open up the file and try to do everything you suggested.

Purpose of this database: We will get a part into our office from a certain vehicle. This part may be a prototype part, our own part, etc. We want to put all of this information into a easy to organize database. Eventually, I'll work in reports (or just dump the data to Excel to make pivot tables) so other engineers can come in and view parts that we have bench marked by model, year, part #, etc. I also planned on expanding the current form to have buttons which will hyperlink to documents on our network when more thorough testing is completed (ppt files usually). This will all come in due time - I just need to get a draft together that works to present to management this week!

5 1398
TheSmileyCoder
2,322 Expert Mod 2GB
I have taken a quick look at your uploaded db.

Just like your tables are linked through the ID field, you need to make a form for the parts overview, and add that into your Parts tab as a subform, and link it through the ID field.

I will also recommend not using names such as "Height (mm)", but instead name the field in the table intHeight or lngHeight (depending on what data type you assign besides number, long or integer) and then add in the description field "Height in mm" and your ofcourse free to write in the caption of the label Height (mm), but as I wrote, try to avoid it in field names.

I will try to find time to give it a more thorough look, but thats what I got so far.
May 17 '10 #2
TheSmileyCoder
2,322 Expert Mod 2GB
Also could you please try to describe in more detail what the intended purpose of your application is? And try to remember the only thing I know maintenance on my car is where to put gasoline :P
May 17 '10 #3
Smiley,

Thanks a TON for taking a look at it. I'm going to re-read your post when I get home and can open up the file and try to do everything you suggested.

Purpose of this database: We will get a part into our office from a certain vehicle. This part may be a prototype part, our own part, etc. We want to put all of this information into a easy to organize database. Eventually, I'll work in reports (or just dump the data to Excel to make pivot tables) so other engineers can come in and view parts that we have bench marked by model, year, part #, etc. I also planned on expanding the current form to have buttons which will hyperlink to documents on our network when more thorough testing is completed (ppt files usually). This will all come in due time - I just need to get a draft together that works to present to management this week!
May 17 '10 #4
TheSmileyCoder
2,322 Expert Mod 2GB
Could you potentially have several benchmarks for the same part type? 2 similar parts with different serial numbers?
May 17 '10 #5
Yes absolutely. That's why I thought auto-numbering was the way to go. For example, I think have I have two Corvette ZR1 parts in there already - same car, two different parts (two different records as well). Because some cars can have 3 or 4 different engine options, I figured it was better to just give every car/part combo its own record.
May 17 '10 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Lefevre, Steven | last post by:
Hey folks - Thanks to everyone who gave input to my concerns. Of course, we don't intend to have the mysql port open to the world. We will have Apache/PHP connect on a unix socket, or to another...
3
by: Rushikesh | last post by:
I am designing a WEB BASED Accounting Software with ASP and SQL Server. For this I need some help for the Database design. My design is as follows. I)User table: User_id, UserName..... Users...
5
by: Don Vaillancourt | last post by:
Hello all, Over the years as I design more database schemas the more I come up with patterns in database design. The more patterns I recognize the more I want to try to design some kind of...
1
by: Lane Beneke | last post by:
All, New to the list and a relative newbie to PostgreSQL. Please forgive stupid questions. Designing an application server for a work order processing (et al) database. I have a good handle...
3
by: James Armstrong | last post by:
Hi all, (warning - long post ahead) I have been tasked with designing a database for my company which will store trade information (it is a financial firm). It will need to export this info...
5
by: perspolis | last post by:
hi everyone In my accounting database ,there are several account like Persons,Banks,.... I design them in separated table. in your opinion ,it's better to have all in one table or separated...
5
by: MP | last post by:
context: vb6 / ado / adox 2.8/ mdb file format / jet 4.0 provider (not using Access) trying to design first database I work for a very small company, detailing building 'components' There is...
29
by: MP | last post by:
Greets, context: vb6/ado/.mdb/jet 4.0 (no access)/sql beginning learner, first database, planning stages (I think the underlying question here is whether to normalize or not to normalize this...
12
by: nyathancha | last post by:
Hi, I have a question regarding best practices in database design. In a relational database, is it wise/necessary to sometimes create tables that are not related to other tables through a...
3
by: vicky | last post by:
Hi All, Can u please suggest me some books for relational database design or database modelling(Knowledgeable yet simple) i.e. from which we could learn database relationships(one to many,many to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.