by "Ken Snell \(MVP\)" <kthsneisllis9@[EMAIL PROTECTED]
>
Oct 15, 2008 at 10:02 PM
You have to put the user-defined function in the script module of the DAP
itself so that the script can "see" and run it. You need to put it in as a
separate script procedure.
--
Ken Snell
<MS ACCESS MVP>
"Christian Bahnsen" <ChristianBahnsen@[EMAIL PROTECTED]
> wrote in
message news:3B3692A5-BF26-41E3-AEE8-4FEAB8A005D8@[EMAIL PROTECTED]
>I wrote a public function in an Access module to calculate elapsed time
> between two values. It works fine in Access queries and in a data
access
> page (DAP) in Access during the design phase. But when I try to open
the
> DAP
> outside Access from its SharePoint folder the DAP throws an error,
> apparently
> unable to access the user-defined function.
>
> Is there any way for DAPs to use user-defined functions?
>
> --
> Christian Bahnsen