| | |
Locator Database - I'm lost.
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jun 2007
Posts: 4
Reputation:
Solved Threads: 0
New here, and a relatively new programmer in general. I've taken 3 years of programming in high school, including a year learning Python and two years learning Java, with one of those years at the AP level. I was recently hired for a summer job, and my company wants me to develop a database system to help them locate files which are stored in boxes in a warehouse.
So here's the basic premise of my problem
Boxes - they need to hold a bunch of information such as ID number, Barcode ID, location, company, etc, and they need to hold a list of files.
Files - They need to hold a bunch of information as well such as ID, date created...
The company wants things to be VERY searchable. As in they'll search for a file's title and they'll find what boxes it could be in, or they'll search for a Box and find what files are in it etc.
Being mostly a java programmer, though still a pretty inexperienced one, how I'd approach this in java conceptually would be to have an ArrayList of Box objects, which within them contain an ArrayList of files. However, storing this information and reading it repeatidly would seem to be quite complicated, as would creating a search mechanism, and well, it all just seems out of my league.
So, I figured working with Access would make sense. I've done some VERY minimal work in visual basic, I've probably forgotten just about all of it. My real issue is I have no idea how I'd organize this in Access, so if anyone could sort of point me in the right direction on this I'd be very grateful. It seems like MySQL would be a good idea here, but I know NOTHING about it and have been somewhat lost in tutorials...again I appreciate any ideas or suggestions, thanks.
So here's the basic premise of my problem
Boxes - they need to hold a bunch of information such as ID number, Barcode ID, location, company, etc, and they need to hold a list of files.
Files - They need to hold a bunch of information as well such as ID, date created...
The company wants things to be VERY searchable. As in they'll search for a file's title and they'll find what boxes it could be in, or they'll search for a Box and find what files are in it etc.
Being mostly a java programmer, though still a pretty inexperienced one, how I'd approach this in java conceptually would be to have an ArrayList of Box objects, which within them contain an ArrayList of files. However, storing this information and reading it repeatidly would seem to be quite complicated, as would creating a search mechanism, and well, it all just seems out of my league.
So, I figured working with Access would make sense. I've done some VERY minimal work in visual basic, I've probably forgotten just about all of it. My real issue is I have no idea how I'd organize this in Access, so if anyone could sort of point me in the right direction on this I'd be very grateful. It seems like MySQL would be a good idea here, but I know NOTHING about it and have been somewhat lost in tutorials...again I appreciate any ideas or suggestions, thanks.
Last edited by repole; Jun 27th, 2007 at 10:23 am.
•
•
Join Date: Jun 2007
Posts: 166
Reputation:
Solved Threads: 9
See, your particular problem is to be solved in two stages.
1. Create a database having presently two tables.
Boxtable and Filetable
Boxtable will have all the fields which identify each of them.
Your filetable also should contain all those detail fields which your company looks for.
Both these tables will have one primary Key as your box id so that a particular information in the filetable identify that file as well as the box id in that one can be used to find the box in the boxtable.
A lot of data entry is required. It can wait. Only test data is to be fed in to these two tables now.
you can use, any database ACCESS MSSQL ORACLE etc.
2. Now is the program part.
VB6 is very user friendly. Especially creating forms, you need not write a single code. That will help you in your INPUT and OUTPUT jobs.
Then some coding you have to do yourself.
a. You have to establish a connection to your database.
b. A recordset is to be created to navigate into your tables for the required information.
Drawing those information, you have to present it to the user in a readable and meaningfull manner.
It is very simple.
Just get on to the job. When you are struck any where this forum will help you.
HAPPY PROGRAMMING
regards
AV Manoharan
1. Create a database having presently two tables.
Boxtable and Filetable
Boxtable will have all the fields which identify each of them.
Your filetable also should contain all those detail fields which your company looks for.
Both these tables will have one primary Key as your box id so that a particular information in the filetable identify that file as well as the box id in that one can be used to find the box in the boxtable.
A lot of data entry is required. It can wait. Only test data is to be fed in to these two tables now.
you can use, any database ACCESS MSSQL ORACLE etc.
2. Now is the program part.
VB6 is very user friendly. Especially creating forms, you need not write a single code. That will help you in your INPUT and OUTPUT jobs.
Then some coding you have to do yourself.
a. You have to establish a connection to your database.
b. A recordset is to be created to navigate into your tables for the required information.
Drawing those information, you have to present it to the user in a readable and meaningfull manner.
It is very simple.
Just get on to the job. When you are struck any where this forum will help you.
HAPPY PROGRAMMING
regards
AV Manoharan
![]() |
Similar Threads
- Moving database to new server (MySQL)
- Problem with database connection (JSP)
- Data Lost!! (DaniWeb Community Feedback)
- Pascal database check (Pascal and Delphi)
- LinkSouls.com Relationship Site Criticism sought (Website Reviews)
- New Server (DaniWeb Community Feedback)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Serial communication with higher speed
- Next Thread: Users cannot install program
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex add age append basic beginner birth bmp c++ calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver struct subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window





