![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Apr 2006
Location: orange park Fl
Posts: 53
Rep Power: 3
![]() |
ok i am making a pos and i am wantig to store product numbers and then at checkout want to be able to type in the product number then search all the numbers to find a mathing one then open the details for that product i also want to know how and what to store numbers in could i store them in a .txt file or what? :banana:
|
|
|
|
|
|
#2 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
A "pos"?
Anyway, you need to investigate databases. I would recommend switching to Visual Basic .NET, as it has much better support for database handling, and picking up Microsoft SQL Server - I believe it's the easiest to learn when working with .NET. http://msdn.microsoft.com/vstudio/express/ |
|
|
|
|
|
#3 |
|
Programmer
Join Date: Apr 2006
Location: orange park Fl
Posts: 53
Rep Power: 3
![]() |
a point of sale well all i need now is to make a command button search for matching text in a text box
|
|
|
|
|
|
#4 |
|
Programmer
Join Date: Apr 2006
Location: orange park Fl
Posts: 53
Rep Power: 3
![]() |
im sorry i meant to search in a .txt file
|
|
|
|
|
|
#5 |
|
Expert Programmer
|
Well you should know how to open a text file. So simply store all the data in an array. Then loop through the array for what you are looking for.
Ooble is right. You should do it with a db. You are learning more, and it's time you stepped up in data storage :p Take the time to learn MySQL. It's worth it. There are TONS of tutorials, documents websites etc out there that can you read. The problem with you little system right now, is trying to store multiple pieces of info. When data storage gets this complicated, it's time to move to the type that can handle it. I bet you're going to have a pile of txt files, and it's going to get messy. All you need is one db, and a little knowldge about SQL. Much Much easier. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|