Solved

Canceling Update

Posted on 2001-07-12
3
188 Views
Last Modified: 2008-03-06

I have a form bound to an command in my data enviroment. I have a Cancel button on the form where I cancel the update of the underlying recordset like this:

envSQL.rscmdAdmissions.CancelUpdate

The problem is I have serveral grids (Janus Grids) that are bound to child commands.  Even if I do the above CancelUpdate command the data in the database bound to the grids still remains changed.  

How do I keep the data bound to the grids from changing when I want to cancel the entire data entry session?

0
Comment
Question by:bfeddish
[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
3 Comments
 
LVL 4

Expert Comment

by:eeyore7250
ID: 6279144
You could setup a temp recordset and store records there until you are ready for them to be put into the master database!
0
 
LVL 1

Author Comment

by:bfeddish
ID: 6279156
This is the direction I was thinking of going. Could you go inot a little more detail as to how you would do this?

Thanks,
Bryan
0
 
LVL 17

Accepted Solution

by:
inthedark earned 300 total points
ID: 6279201
It could be a cse for Clone.  I don't use it much and I forget its there.

Dim KeepMeForLater As Recordset

Set KeepMeForLater = MyObject.RecordSet.Clone

I use the other approach which is to not change the live database until the Operator clicks on Save.

0

Featured Post

Independent Software Vendors: 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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

728 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