Page 1 of 1

Can the title of the accept function display data?

Posted: March 30th, 2014, 7:15 am
by Keith Tomlin
Hello - I'd like to use the accept function to ask the user to confirm that they are in a particular location. So for the example the user would used combo boxes to select "Village 1" for a village field and "Area 3" for an area field, and there would then be an accept function saying "Please confirm that you are in Village 1, Area 3". If No is clicked the user is taken back to the Village field. But I can't find a way of displaying the Village and Area values in the accept function title.

Many thanks

Keith

Re: Can the title of the accept function display data?

Posted: March 31st, 2014, 6:06 pm
by Gregory Martin
You might consider doing this using an errmsg. Something like this:
errmsg("Please confirm that you are in Village %d, Area %d",VILLAGE,AREA) select("Yes",continue,"No",VILLAGE);
Alternatively, you could create your customized accept title using the maketext function.

Re: Can the title of the accept function display data?

Posted: April 2nd, 2014, 6:11 am
by Keith Tomlin
Thanks very much Greg, I'll give that a try.

All the best

Keith