|
-
Apr 2nd, 2010, 02:13 PM
#1
Thread Starter
New Member
School project help
Hi everyone,
I've a school project to complete in two weeks time, but to cut a long story short, the tutor has been a total disappointment and spends the whole class elsewhere and leaving us to our own devices. I consider myself competent enough to be taught, but I'm having to self-teach through books and via online and still can't get the hang of programming in VB.
This is my coursework specification (for the program I have to write in VB6) http://seansstudy.webs.com/computing...20software.doc
I have to make it clear that I'm not asking anyone to do my project; I know it's my effort but I do need a lot of help.
- We basically have to make a program that can store a list of product names, product codes and their stock level. -- I have worked out I need to use an array for this, right? I've stored the variables as string but someone else has used a record (not sure even what this is)
- It then has to prompt users to ask them to search for a product, and then output a display with the details (product name, code and stock level) in a column of 3.
If anyone could gimme a little help I'd appreciate it.
-
Apr 2nd, 2010, 02:49 PM
#2
Re: School project help
1. I would opt for a Report style ListView with three columns to accomodate the details you need to keep. By record they probably meant a database where each item is a separate record in the DB table.
2. For the display you can also use a ListView that I mentioned. Now searching really depends on how you store this. A question comes to mind, do you need to keep the data permanently (even after the application closes) and have it loaded when application starts, or not?
If not, you can use a ListView, searching it is easy with a For Next loop going through each row in the list and checking if the vlaue in it equals what you are looking for. If you need to store it, a DB (most likely MS Access) would be a good choice. Searching that is rather easy using the SQL Select statement.
-
Apr 2nd, 2010, 03:13 PM
#3
Re: School project help

While we'll be happy to help you, please don't expect us to do the whole project for you. In other words give it a start and when you have questions or specific problems show us what you have and tell us what isn't working.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|