Solved

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

Posted on 2011-09-29
6
240 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 500 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
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

932 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now