Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

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

Posted on 2011-09-29
6
Medium Priority
?
255 Views
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
0
Comment
Question by:seanlhall
  • 4
  • 2
6 Comments
 
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:
allen@allenbrowne.com

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.

JeffCoachman




JeffCoachman
0
 

Author Comment

by:seanlhall
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.
0
 
LVL 74

Accepted Solution

by:
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...

JeffCoachman
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

Author Comment

by:seanlhall
ID: 36818052
ok I understand. Thanks for your help.
0
 
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.

JeffCoachman
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 36830505
;-)
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

Sometimes MS breaks things just for fun... In Access 2003, only the maximum allowable SQL string length could cause problems as you built a recordset. Now, when using string data in a WHERE clause, the 'identifier' maximum is 128 characters. So, …
Beware when using the ListIndex and the Column() properties of a listbox in Access 2007.  A bug has been identified in the Access 2007 listbox code which can cause the .ListIndex property to return a -1, and the .Columns(#) property to return a NULL…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

580 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