473,405 Members | 2,167 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

HELP with Code to Cancel Record & Keep Data

Hi,

need help with the following:

Access database: when entering in a preset form, it is determined it is not required but would like to retain the data entered but cancel the record, can this be done?

Essentially would like it to do the following:

Expand|Select|Wrap|Line Numbers
  1. OnClick
  2. DoCmd.SaveRecord
  3. DoCmd.CancelRecord
  4. DoCmd.MovetoNewRecord
Please help, I have been stuck and not able to use database

thank you,
Jul 25 '19 #1
1 831
twinnyfo
3,653 Expert Mod 2GB
Rosie,

Welcome to Bytes!

Would you be able to clarify exactly what you mean when you say:
it is determined it is not required but would like to retain the data entered but cancel the record
If the data is not required, then why keep it? If you're keeping it, then just keep it!

I think further clarification would be required for us to give you any meaningful assistance.

Thanks for your clarification.
Jul 25 '19 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: valexena | last post by:
My attempt to read the view creation code stored in the Oracle data dictionary has encountered a problem. The view code appears to be getting cut off at the end. What have I to do resolve this...
0
by: Author Tarun Tyagi | last post by:
Hi, I am a Data Recovery Specialist and Professional Data Recovery Software Developer in New Delhi. I've placed the Complete SOURCE CODE of One of my Data Recovery Software for Sale (for...
1
by: Zaidan | last post by:
I am running Excel2000 under WIN98 2nd edition, and I am writing a VBA code (I will consider using javascript if I have to) that does the following, at the user command: 1- Start MS Explorer and...
1
by: xmp333 | last post by:
Hi, I have a form that is designed as a data sheet view. Attached to this is a subform with some VB code. When the user clicks on a row, the subform should pop up and run the VB code which...
4
by: MikeY | last post by:
Hi everyone, I have posted earlier this week, but I'm still scratching my head trying to figure out how to change/modify my data back to my db. Using C# Windows forms. I am trying to learn how...
5
by: Rob | last post by:
I have a form where the user may see a matrix of data in a grid (populated via a dataset). If the user wishes to add a new row of data, they click a button and a new form opens where the user may...
2
by: lovesehuang | last post by:
need some help for source codes about Keep Data Secret Management System baseed on C/S Architecture.The other thnics we need is SQL,C++,VC++,can u tell me where can i get them or download them.it's...
0
by: Tim Marshall | last post by:
Access 2003. A report of mine was hanging on print preview. It turned out the issue was a bound text box where the data was too big to fit all on one page. When I changed the "keep together"...
1
by: jagadishk | last post by:
hi this is my code for uploading images into data base which is woring fine, but i want to upload multiple images an any one help me. <?php include 'config.php'; error_reporting(E_ALL ^...
3
by: irsmalik | last post by:
Hello Friends I am making a database for Drawings Duplication Check. Fields are given below DRAWING it is Numeric SheetFrom it is Numeric SheetTo it is Numeric Suppose Drawing...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.