|
customcode 9/13/2008 |
I need to set a field (in this case [Update Date]) to the current date NOW(). The requirement is is that I'd like to do this beforea record is added/edited (physically displayed on screen) so that I can set the field to Read Only on both pages. I have similar fields (that are bit types and I need to do the same sort of thing) The Query Editor does not allow this much flexability - unless I'm out to lunch. I've tried this in Before record added (only valid for Add and InLine Add) and Before record updated (only valid for Edit and Inline Edit). But it doesn't work in either case. I've even copied a code snippet from the web site "How To" but it doesn't work either (this snippet converts to Proper Case). I gotta be doing something goofy, but what I dunno... In both cases, I get no error, just no data stored in the field. Any help would be appreciated. Thanks
|
W
|
Wanda author 9/13/2008 |
Sorry, my bad. I know that the Editor allows me to set the Default Values. What I need to do is to set default values prior to loading the page. For example, in a master table, I have an ItemNo field. In the related table (i.e child) I need to add one to this value prior to the child table being displayed. |
![]() |
Sergey Kornilov admin 9/14/2008 |
As a first step I recommend to check manual topic Page life cycle overview |
W
|
Wanda author 9/25/2008 |
Thank you very much. This is what I was looking for. |