Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 20th, 2006, 6:20 PM   #1
RAzR Creations
Programmer
 
RAzR Creations's Avatar
 
Join Date: Apr 2006
Location: orange park Fl
Posts: 53
Rep Power: 3 RAzR Creations is on a distinguished road
Lightbulb need number help

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:
RAzR Creations is offline   Reply With Quote
Old May 21st, 2006, 7:44 AM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
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/
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old May 21st, 2006, 12:59 PM   #3
RAzR Creations
Programmer
 
RAzR Creations's Avatar
 
Join Date: Apr 2006
Location: orange park Fl
Posts: 53
Rep Power: 3 RAzR Creations is on a distinguished road
a point of sale well all i need now is to make a command button search for matching text in a text box
RAzR Creations is offline   Reply With Quote
Old May 21st, 2006, 1:00 PM   #4
RAzR Creations
Programmer
 
RAzR Creations's Avatar
 
Join Date: Apr 2006
Location: orange park Fl
Posts: 53
Rep Power: 3 RAzR Creations is on a distinguished road
im sorry i meant to search in a .txt file
RAzR Creations is offline   Reply With Quote
Old May 21st, 2006, 1:18 PM   #5
Booooze
Expert Programmer
 
Booooze's Avatar
 
Join Date: Mar 2006
Location: Igloo
Posts: 710
Rep Power: 3 Booooze is on a distinguished road
Send a message via MSN to Booooze
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.
Booooze is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:14 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC