Applies to: posted in the Clarion 6 group (September 2007); the poster used C6.3.
Problem
In an embed for a button on a form the poster called two procedures by name, EmailSend2 and textformsend, after selecting a record. The compile gave an unknown procedure label error for both, although the procedures exist. When he used the Call a Procedure extended template for one, its error went away; the other still failed until it was called through the template too.
Solution
- The procedures are not in the map for the calling procedure. Open the calling procedure's Procedures button and add the other procedures to the list.
- Alternatively, check "Declare Globally" on each of the called procedures.
- The poster added them to the list and it worked.
Caveats
- The poster took it for a new C6 feature. Two replies said it has always been there: adding a procedure to the calling procedure puts it in the map, and it has existed since at least C5, maybe C4.
- A reply suggested checking the Create Local Maps option on the Generation tab of the application options in case it had been switched off.
Today (2026)
Likely unchanged; not re-tested.
Sources: Ray R. (Sep 2007, the question), Lee W., Abe J., Carl B. (Sep 2007) in softvelocity.public.clarion6.