Programming Forums
User Name Password Register
 

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

Reply
 
Thread Tools Display Modes
Old Jul 10th, 2005, 5:44 AM   #1
gj15987
Programmer
 
Join Date: Feb 2005
Posts: 47
Rep Power: 0 gj15987 is on a distinguished road
Shopping application.

So I need to create a shopping application. I was thinking for an actual shopping transaction I would create a form that shows the customer ID and then have a list of all the available items in a list box. The list of available items comes from a table called items.

Then because i'm not going to use a bar code scanner or anything I was thinking i would have another list box, so when an item is clicked in the list box, and then a button is clicked it would transfer it into the other list box and those would be the items purchased.

So I had a few ideas on how to do this but don't have a clue to tell the truth. I was thinking that i would need to create a transaction table with Transaction ID, items purchased, and customer ID as a foreign key. So i'm thinking somehow I need for the corresponding details in the items table to get transfered over to the transaction table when i click the button. Is this the right way to go about it? or would anyone reccommend doing it a different way?

Thanks
Grant.
Attached Images
File Type: jpg delphi.jpg (25.8 KB, 20 views)
gj15987 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 2:36 AM.

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