Solved

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

Posted on 2011-09-29
6
242 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

807 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