473,320 Members | 1,845 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Error 2115

ken
I posted this, but for some reason it didn't go through...

I'm using access 2k, and need to date the last time my form has been
edited. So I added a date field and in the after update property I set
that field to Now(). This gives me all kinds of errors though...and
sometimes deletes my record.

Am I doing something wrong, I mean is there a different way of doing
this?

Thanks

Nov 13 '05 #1
6 1745
ken wrote:
I posted this, but for some reason it didn't go through...

I'm using access 2k, and need to date the last time my form has been
edited. So I added a date field and in the after update property I set
that field to Now(). This gives me all kinds of errors though...and
sometimes deletes my record.

Am I doing something wrong, I mean is there a different way of doing
this?

Thanks


Try using Form_BeforeUpdate()

Using AfterUpdate, it will update, set the date and make the form dirty
again and moving from that record will save it again, when it does, it
will update, set the date and make the form dirty and moving from that
record will save it again, when it does it will set the date, make it
dirty... ad nausium.

--
[OO=00=OO]
Nov 13 '05 #2
ken
oh...you mean like it will loop...?

Nov 13 '05 #3
I use the BeforeUpdate event of the form for this.

ken wrote:
I posted this, but for some reason it didn't go through...

I'm using access 2k, and need to date the last time my form has been
edited. So I added a date field and in the after update property I set
that field to Now(). This gives me all kinds of errors though...and
sometimes deletes my record.

Am I doing something wrong, I mean is there a different way of doing
this?

Thanks


--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
For human replies, replace the queue with a tea

Nov 13 '05 #4
> dirty... ad nausium.

ad nauseam. My English may be limited, I know my Latin :-)


--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
For human replies, replace the queue with a tea

Nov 13 '05 #5
ken wrote:
oh...you mean like it will loop...?


Aye

--
[OO=00=OO]
Nov 13 '05 #6
Bas Cost Budde wrote:
dirty... ad nausium.

ad nauseam. My English may be limited, I know my Latin :-)


Re vera, cara mea, mea nil refert.

BTW: Braccae tuae aperiuntur. :-)

--
[OO=00=OO]
Nov 13 '05 #7

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

Similar topics

0
by: charlie | last post by:
Hello, I am trying to compile php-5.0.0b3 on a fedora 1.0 system. I am beginning with the following: charliek 12$./configure \ --with-apxs2=/usr/local/apache2/bin/apxs \ --with-mysql...
13
by: deko | last post by:
I use this convention frequently: Exit_Here: Exit Sub HandleErr: Select Case Err.Number Case 3163 Resume Next Case 3376 Resume Next
3
by: WindAndWaves | last post by:
I am writing error handling procedures at the moment. Here are some questions: 1. Can you write a procedure that picks up any error and deals with it no matter where it happens in the database?...
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
0
by: manauwaralam | last post by:
javax.naming.NameNotFoundException: While trying to lookup 'weblogic.jdbc.jts.vdmsPool' didn't find subcontext 'jdbc' Resolved weblogic; remaining name 'jdbc/jts/vdmsPool' at...
7
by: vkong85 | last post by:
Currently I am running a database in order to keep track of projects. One of the fields in the project tracking is a bit of code which tells me (if someone changes the records) who changed it and...
1
by: napstar | last post by:
I have 2 combo boxes which can be used to set an employee's availability and Salary type on an employees form in access. I have sub which changes availability to “Full time”, if the salary type is...
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
18
by: OldBirdman | last post by:
I have a listbox named lbxSelect which has RowSource = strSQL set in VBA code. This displays correctly on my form (fAAA). Once displayed, I want to use it to select a record, and display the...
0
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.