By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,251 Members | 2,760 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,251 IT Pros & Developers. It's quick & easy.

HELP with Code to Cancel Record & Keep Data

P: 1
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,
4 Weeks Ago #1
Share this Question
Share on Google+
1 Reply


twinnyfo
Expert Mod 2.5K+
P: 3,257
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.
4 Weeks Ago #2

Post your reply

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