Hi Hugo,
You are right but that's a problem with me re-typing code (to simplify) instead of pasting in real code. Both should be "v_Apps". Thanks for responding though.
Albert
>
>lcTemplate = "Application Form x.dotm"
>
>lcWhenCondition = "RECCOUNT('apps') > 0"
>
>lcDataProcedure = "WorkUpAppData(v_Apps.App_ID)"
>
>
>
>Is it on purpose that you are using 'apps' as the alias for the when condition while v_apps as the alias for calling the WorkUpAppData function? If it is not then that might explain the issue.