Wrox Programmer Forums
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 19th, 2004, 05:02 PM
Authorized User
 
Join Date: Oct 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Queues & Stacks

I would like to know how I can add items to a queue each time a user clicks a new invoice. I have an Invoice class which has created objects for the customer name, order total, item count and discount amount. When I record the info for one invoice the data in the queue is added. I would like to know how to add this data on an accumulation basis.

InvoiceQueue.Enqueue(Invoice.InvoiceDate)
            InvoiceQueue.Enqueue(Invoice.CustomerName)
            InvoiceQueue.Enqueue(Invoice.OrderTotal)
            InvoiceQueue.Enqueue(Invoice.ItemCount)
            InvoiceQueue.Enqueue(Invoice.DiscountAmount)

 
Old November 21st, 2004, 05:51 AM
Friend of Wrox
 
Join Date: Feb 2004
Posts: 177
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You area asking about implementing the Queue for add the data?


It is not how much we do,
but how much love we put in the doing.

-Mother Theresa





Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript && keeps turnig into && ayrton Pro VB.NET 2002/2003 3 June 27th, 2005 03:34 PM
Linux & KDE & C++ & QT & MYSQL & Kdevelop Munnnki Linux 0 January 2nd, 2005 05:41 PM
Stacks gbilios C++ Programming 4 March 21st, 2004 06:44 PM
sql & join tables & find a field in multiple table trangd Beginning PHP 2 January 29th, 2004 07:18 PM
How to See Queues in Printer amar Pro VB 6 0 July 27th, 2003 09:00 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.