Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


How can I edit a record from a sub-form?

Posted on 2011-09-29
Medium Priority
Last Modified: 2012-05-12
I downloaded a sample database for reoccurring dates. The database was found on http://allenbrowne.com/AppRecur.html . When I click Edit in the sub-form to enter a comment the date value goes blank in the sub form when I click OK.  I have been trying to figure this out but have failed.  recur.accdb
Question by:seanlhall
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
  • 4
  • 2
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 36817756
If you look closely at the pop-up form, the date disappears because it presumes you will be "Rescheduling" the event.
(Note that the caption of the pop-up form is "Manage an *Exception* to a recurring event")

If you select (or enter) a day in the "Reschedule to" box, the date then appears on the main form.

If you select "Cancel" or "Delete this entry", the original date remains.

This appears to be the way the form is designed to work.
But perhaps your first call should have been to the author of the code:

I don't pretend to know all the intimate details of how another developer complex application was intended to work.
So if your question here is how to simply "Edit" an existing event's "Comment", then it appears that you must select/enter the same date in the "Re-schedule to" box as was the original value.



Author Comment

ID: 36817867
Ok I see I would have to put the date in myself if Im jsut entering a comment. Do you se a way I could have the original date on the subform populate in the exception form date when I clcik edit?  Also I did email the author as well. Thanks for taking a look.
LVL 74

Accepted Solution

Jeffrey Coachman earned 2000 total points
ID: 36818028
I really don't want to modify code in a "Publicly downloadable DB"written by another developer of the caliber of Allen Browne.

Besides, I tried passing the existing date to the pop-up but that did not work.

I would rather you get this resolved by the author.

I'm sure you understand...

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments


Author Comment

ID: 36818052
ok I understand. Thanks for your help.
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 36819087
The issue is that there are lots of instances where people will copy a DB by a well known author (Allen Browne, Ken Getz, Stephen Lebans, ...et al) and claim it as their own.

Other times someone will modify the db then repost it as "The Original"

Besides, I might modify the code to do as you request, but the modification may have unexpected implications in another aspect of the DB.

LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 36830505

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

596 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