autofill field on linked form

beanlucy

Registered User.
Local time
Today, 20:30
Joined
Dec 16, 2008
Messages
12
I have a form which includes details about events. There is a unique field: evtID.

A button on the form opens a new form where users can view and add/edit evaluations from attendees at the event. At the moment the two forms are linked so that when you press the button to open the evaluation form you only see evaluation records from that event (with the same evtID).

What I'd like to know is how to make so that any new evaluation record added to that form automatically has it's evtID field completed with the number linked to the orignal events form.

(The evaluation form can only be opened via an event form)

Thanks!
 
How are you opening the form? You can add OpenArgs to the open of the form and then if it is a New Record then you can use code in the On Load event of the form to set the field value.
 

Users who are viewing this thread

Back
Top Bottom