RE: Cannot set value via event
- From: MikeJohnB <MikeJohnB@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 20 Dec 2008 09:07:00 -0800
Forms![1frmclient].Form!txtLastUpdate = Now()
() ??????
Regards
--
Advice to Posters.
Check your post for replies or request for more information.
Consider providing some feed back to the response you have recieved.
Kindest Regards Mike B
"redFred" wrote:
Yes, thanks..
Forms![1frmclient].Form!txtLastUpdate = Now
Like I stated...in any event as the only code.
"MikeJohnB" wrote:
Can you post the code that is being used to perform the update?
Forms!MainFormName.UpdateControlName = ??????
Kindest Regards
Mike B
--
Advice to Posters.
Check your post for replies or request for more information.
Consider providing some feed back to the response you have recieved.
Kindest Regards Mike B
"redFred" wrote:
Happy Holidays and thanks for helping.
I have a main form that has a control to record last update to it or another
form/subform.
[frmClient]-user clicks button to display [frmClientUpdate].
[frmClientUpdate]-popup, not subform.
[frmClientUpdate]![subforms] - contain controls,bound, to update data. There
are several, behavior is common to all.
I am unable due to the error 2448 to update the last update control on
[frmClient] when I make a change to a control on [frmClientUpdate]![subform].
[frmClient] last update control works fine when tested at [frmClient] and
[frmClientUpdate] and the [frmClientUpdate]![subform] source object form.
However, when I add the same updating code to [frmClientUpdate]![subform]
event (any subform, any event) I get runtime error. I am attempting to use
the BeforeUpdate event to test Value vs OldValue.
The subform's form open event will update [frmClient] last update correctly.
Any subform's control, any event will fail 2448 cannot update.
Does anyone see a solution? I have Compacted/Repaired, rebuilt and no joy.
I am at a loss.
Thanks.
redFred
- Follow-Ups:
- RE: Cannot set value via event
- From: MikeJohnB
- RE: Cannot set value via event
- References:
- Cannot set value via event
- From: redFred
- RE: Cannot set value via event
- From: MikeJohnB
- RE: Cannot set value via event
- From: redFred
- Cannot set value via event
- Prev by Date: RE: Cannot set value via event
- Next by Date: RE: Cannot set value via event
- Previous by thread: RE: Cannot set value via event
- Next by thread: RE: Cannot set value via event
- Index(es):