Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I don't know how to use the single and two dimensional arrays

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have to create a form for an auto part store.

The form has 3 option buttons for Brands A, B, and X

Each Brand A, B and X has 9 parts, each one with an item number

Our store (V Store) has 9 parts, each one with an item number also. Each one of the parts on either Brand A, B or X, has a corresponding matching part in the V Store.

The user has to be able to select either Brand A, B or X. Enter
a part number from either of these brands in a text box, and the form has to display the corresponding matching part number from the V Store.

You can choose from two approaches for the look-up table. Either
store the part numbers in a two-dimensional table or in an array of user-defined types. In either case, use the part number and brand entered by the user; look up and display the V Store part number.

Can someone help?

If someone want me I can send the work I have done so far.
Thanks
angeletino@hotmail.com

 
Is this for a class or an actual business? Whether you use a udt or array will probably depend on the types of data you're passing.

Tell me again, your inputs are a part number (integer? long?) and a Brand (string?). Not sure I understand what info you are getting from the user, but with that info, we can certainly get your problem solved.
 
My inputs are integer and Brand String, if you give me your e-mail address i can send you what i have done so far
Angeletino
aasensio@ameritech.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top