Solved

Parking and Unparking Transactions Help

Posted on 2006-07-07
2
753 Views
Last Modified: 2010-04-30
Hi Experts

I am making POS software for a company.

My software is uses SDI.

My software can handle multiple transactions but my client wants to be able to park/unpark transactions and I don’t know how to do it.

When you start a new transaction each form has a Transition ID and that is carried through all the form menus for that transaction.

I was thinking about getting my program to loop through all the forms and hide all the forms that have the Transaction ID the user wants to park but I don’t know how to do that or how i would get the forms back after they are hidden

I would be very grateful for any advice/assistance

Thanks

Nothern_Lights
0
Comment
Question by:Nothern_Lights
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 20

Expert Comment

by:hes
ID: 17061464
If you mean by park/unpark suspend resume then you write all the data you have captured up to that point to the data base. Then when you resume the transaction you retrieve the transaction data and continue at the point it was suspended.
0
 
LVL 6

Accepted Solution

by:
junglerover77 earned 500 total points
ID: 17067680
To access all forms of your VB6 application, you can just use the Forms collection.

Add 3 forms in an project, put 2 command buttons in form1, then paste the following code in form1:

Private Sub Command1_Click()
    Dim oForm As Form
    For Each oForm In Forms
        If oForm.Name <> "Form1" Then oForm.Hide
    Next
End Sub

Private Sub Command2_Click()
    Dim oForm As Form
    For Each oForm In Forms
        If oForm.Name <> "Form1" Then oForm.Show
    Next
End Sub

Private Sub Form_Load()
    Form2.Show
    Form3.Show
End Sub
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How does CurrentUser work? 10 43
VB6 - Compare and highlight cell not the same 3 62
IF ELSE Statement in Excel Macro VBA 16 102
VB6 - Scroll Mouse wheel on Picturebox 13 120
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question