Ok,
Lets say I have a stateless form called
frmTest.
This form has one integer field and one string field called
intEventID &
strLabelIs it possible to write a function that would populate this form on the intEventID On User Update? (I know there are ways to do it within the form itself, but I'm wondering about the syntax of writing a function).
Here is what I'm thinking for the function:
- void basFillForm(int intEventID)
{
varData = frmTimeSheet [intEventID == input.intEventID];
- ***Populate the strLabel control in the frmTest form from within this function***
}
The problem I am having seems to be setting the form & the control. I was thinking of something like frmTest.strLabel = "Blah, blah, blah"
But each time I do, it gives me an error.
Any help?
Leo Saumure