Re: Set value of key field in next form
- From: "Jeanette Cunningham" <nnn@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 5 Jun 2008 07:49:01 +1000
Sheila,
usually, the On Open event doesn't work for this, but the Load event does.
Put your macro on the form's Load event and try it.
Jeanette Cunningham -- Melbourne Victoria Australia
"Sheila D" <SheilaD@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C9491A83-EA56-4EF6-BAD9-029B183F5759@xxxxxxxxxxxxxxxx
I have a form which collects date for different hospital procedures.
Depending on the type of procedure I need different forms to ope which I
have
done using a macro to check the value on the after update property of the
field and then open the relevant form. (I'm not a VB person!)
What I would like to do in the new form is automate the Procedure number
already entered on the first form. I've tried using SetValue action in a
macro on the On Open action for the formto refer back to the first form
field
but get an error saying I can't assign a value to the item.
Any help much appreciated
Sheila
.
- Prev by Date: Re: Locking values after entry
- Next by Date: Re: Blank Listbox
- Previous by thread: Re: Guidance on entering and display date & time
- Next by thread: Re: Highlight current record
- Index(es):
Relevant Pages
|