Subject |
Re: Lookuprowset |
From |
Lee Grant <camilee@nospam.comcast.net> |
Date |
Thu, 4 May 2023 13:58:01 -0400 |
Newsgroups |
dbase.getting-started |
Peter,
Since you don't want input, on opening the form, I would imagine you
could just hardwire the default in onOpen, whatever that would be.
ie:
> form.entryfield2.value = (whatever you want)
Lee
On 5/4/2023 11:19 AM, Peter wrote:
> Yes, Lee! I put ins_code in lower case and removed extra space between value and period. Works great. Always good to get second opinion with new eyes and fresh, wise ideas.
> So my other question relates to using this “onKey” function to put the ins_name in the entryfield2 when form first opens, ie before entryfield1 gets focus.
> I did same with duflp age() function to put patient age on the editable form in the form.onOpen(). Age() is used again as part of a validation function if date-of-birth is changed.
> Peter
<snip>
|
|