Re: Uidoc.fieldSetText not "keeping"
<hellerr <at> msnotes.wustl.edu>
2007-01-03 16:25:59 GMT
Well, I'm not going to answer your question directly, but to ask - what
are you trying to accomplish?
It would seem much easier to just set the Default Value of each field to
0, or to make an Input Translation formula that sets the value to 0 if the
field is blank:
<at> If(TireMounted = ""; 0; TireMounted)
If you really need to do this with LotusScript in a QuerySave, why not set
the values back-end? Something like:
If doc.TireMounted(0) = "" Then
doc.TireMounted = 0
On 01/03/2007 10:05:23 AM bmoore wrote:
>Good Morning and Happy New Year!
>I'm stuck on this one. The below code in QuerySave of a form. It usually
>works, putting a "0" in an empty field. But I've got some that it's not
>working for. If I create one, it works, but some it's not. When I go into
>those (all same form, same database) the fields flash with the 0, then
>they disappear. The fields then report they are type "text" rather than
>"number". When they are working, Notes converts to text 0 to a number 0.
>I've looked at the form, and run a design synopsis, and I can't see any
>other code effecting the fields, and there are no agents to touch it.