I would like to change a data from a field...

I work with Lotus Notes 4.5.5
In a form, I have 2 sections.
In each section, I have a layout region.
In each layout region, I have many field but one or more field of date format.
When I set manually the NULL value to the field with the date format in the first section, I have no problem.
In the second section, the computer has generated a value (31/01/2000) and I can't delete it or replace it ! Why ?
I have created the form and I will not that ! (no inherit clause)
Is that a Lotus Notes Bug ?
 
CDEAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ArunkumarCommented:
Try putting the initial value as

DEFAULT FieldName := ""

instead of putting it as "" in the default event.

Good Luck !

-Arun
0
HemanthaKumarCommented:
Hi

Check the Default Formula or Check some other field would be setting the date to this field value

Good Luck

~Hemanth
0
PaebdbCommented:
First of all, if you can't change and replace the value, chances are the field is not set editable but computed. You can change this under the field properties in the form.
Second as the other comments say check the Default Value property of the field.
If those ideas don't apply, please tell us more about the section.
0
ArunkumarCommented:
Hi CDE,

If you are so desperate in setting the values to NULL then,

Try a simple script that would run during the postopen event that would set all the specified date Fields to Null Value.

Please not that you should check for the isnewdocument condition for doing this.  Otherwise each time you open an old document you find the values being reset.

Good Luck !!!

-Arun

PS:  You can also use the @Function formula to acheive this.

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.