473,549 Members | 2,708 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

After Update event

Hi
I use a calendar to update a field and the after update event no longer
works, if i manually update it there is not a problem. How can I get this
event to trigger

Thanks in advance

Dave
Nov 13 '05 #1
3 3943
David wrote:
Hi
I use a calendar to update a field and the after update event no longer
works, if i manually update it there is not a problem. How can I get this
event to trigger


I assume you're using some kind of calendar form which updates your field.

Can you get into the code of the calendar form? If so, I would make the
after update code a public function or sub on a standard module and
cut the code from your current form to the new public procedure. You'll
have to change any Me references to Forms!frmMyForm .

The put this proc in the after update event on the field on the form and
also in the calendar form with the button or whatever mechanism is used
to transfer the date to the field on your form.

Again, this assumes the calendar is a form you can get into. I'm not
quite sure what to do if the calendar is some sort of third party control
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Nov 13 '05 #2
On Mon, 13 Jun 2005 16:11:47 +0000 (UTC), "David"
<da***********@ btinternet.com> wrote:
Hi
I use a calendar to update a field and the after update event no longer
works, if i manually update it there is not a problem. How can I get this
event to trigger

Thanks in advance

Dave


It sounds like you are using a command button to invoke a calendar to
update a field, say ActionDate for the sake of discussion. After
invoking the calendar to update ActionDate, call
ActionDate_Afte rUpdate to simulate having keyed directly into the
field (and thus triggering its After Update event).
Nov 13 '05 #3
Thanks Chuck
Your explanation was just what I wanted
Dave

"Chuck Van Den Corput" <NO************ *****@sympatico .ca> wrote in message
news:lj******** *************** *********@4ax.c om...
On Mon, 13 Jun 2005 16:11:47 +0000 (UTC), "David"
<da***********@ btinternet.com> wrote:
Hi
I use a calendar to update a field and the after update event no
longer
works, if i manually update it there is not a problem. How can I get this
event to trigger

Thanks in advance

Dave


It sounds like you are using a command button to invoke a calendar to
update a field, say ActionDate for the sake of discussion. After
invoking the calendar to update ActionDate, call
ActionDate_Afte rUpdate to simulate having keyed directly into the
field (and thus triggering its After Update event).

Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2276
by: CSDunn | last post by:
Hello, I have a combo box (Combo7) that needs to call a function during the After Update event of the combo box. The function resides in an Access 2000 ADP Module called MMAnswerData_code. The following is the code of the function: Public Function SubFormRS(FrmTarget As Object) Forms!frmAD_OpeningForm!FrmTarget.RecordSource = "EXEC...
3
9741
by: Justin | last post by:
I have created a dataset with two tables and an insert command, I need to be able to retreive the Key Identity after inserting into table "A" for use in table "B". Should I use ExecuteScalar() or is there a better solution? Thanks, Justin.
4
4056
by: Ian Kelly | last post by:
Hi All, I have an .net form that is split into two frames. The left frame has a tree that displays a list of all the customers. The right frame displays the appropriate clients information. When the save button is pressed on the right frame, I want to update the tree in the left frame AFTER saving all the data as the changes to the right...
3
1837
by: jaYPee | last post by:
is there a way to know if the form is edited or not after calling addnew? Me.BindingContext(DsStudentCourse1, "Students").AddNew() because i got an error after closing the form. because in my form closing event i have a code to call the EndCurrentEdit to determine if the dataset has changes or not. here is my code in closing event Private...
6
3056
by: Dugo | last post by:
I'm trying to use a "keypad" form (with command buttons for numbers 0 thru 9) I developed to allow users to first click a textbox on one form, then click a number on the keypad and have the value entered in the textbox. It's all seemingly working except that I have an AfterUpdate event set for the textboxes and that event is NOT triggered...
1
3000
by: Dave | last post by:
I'm having problems with certain fields that I force an update (Me.dirty=false) in the After Update Event I lose focus of the field where the user was or where he clicked help Is there a way to keep focus after I save the current record Any help would be appreciated thanks
3
1884
by: ronchese | last post by:
Hello. I wrote a Web Custom Control that have a property named SelectedValue. This SelectedValue property is set after the user clicks a LinkButton control, by its Click() event. I did some tests, and I noticed that my handled LinkButton_Click() event is fired only after the Page_Load() event, due to page and control lifecicles. The...
1
1653
by: =?Utf-8?B?S2VuIEFkZW5pamk=?= | last post by:
I read, How can I update my user interface from a thread that did not create it? http://blogs.msdn.com/csharpfaq/archive/2004/03/17/91685.aspx I have a postback event handler, that requests user input via JavaScript confirm methods to process conditional steps. After completing asynchronous processing, binding the result sets to the...
5
3444
by: =?Utf-8?B?bXBhaW5l?= | last post by:
Hello, I am completely lost as to why I can't update a DropDownList inside a DetailsView after I perform an insert into an object datasource. I tried to simply it down to the core demostration: default.aspx:
0
7524
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7451
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7812
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6048
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5089
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3501
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3483
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1061
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
766
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.