Unfortunately this solution did not make any difference. I suspect some
missing or old versions of .DLLs or .OCXs. But even though updating with
Service packs etc. it still doesnt work on some Access 2003 clients. I had
the same problem with some workstations running only on Runtime 2002. After
installing Runtime 2003 as well on those workstations the ADP worked on both
Runtime 2002 and 2003. Really strange.
JF> Unfortunately this solution did not make any difference. I suspect some
JF> missing or old versions of .DLLs or .OCXs. But even though updating
JF> with Service packs etc. it still doesnt work on some Access 2003
JF> clients. I had the same problem with some workstations running only on
JF> Runtime 2002. After installing Runtime 2003 as well on those
JF> workstations the ADP worked on both Runtime 2002 and 2003. Really
JF> strange. --
JF> Jan Flodin
when you say "nothing happens", what do you mean? can you give an example
that would show how you call those functions?
If you open immediate panel in vba environment, and enter
?currentproject.connection.execute("select dbo.myudf(myparm) from
sometable")(0)
(with right names, obviously), what does it return?
Further, you can always run profiler on sql server to see what happens when
it works and when it does not.
Vadim Rapp
PBsoft - 25 Jun 2007 15:29 GMT
> If you open immediate panel in vba environment, and enter
>
> ?currentproject.connection.execute("select dbo.myudf(myparm) from
> sometable")(0)
>
> (with right names, obviously), what does it return?
Probably you would say:
?CurrentProject.Connection.Execute("SELECT dbo.myudf(myparam)")
Right?
--
PBsoft di Gabriele Bertolucci
www.pbsoft.it
skype:pbsoftsolution
Vadim Rapp - 26 Jun 2007 00:30 GMT
??>> If you open immediate panel in vba environment, and enter
??>>
??>> ?currentproject.connection.execute("select dbo.myudf(myparm) from
??>> sometable")(0)
??>>
??>> (with right names, obviously), what does it return?
P> Probably you would say:
P> ?CurrentProject.Connection.Execute("SELECT dbo.myudf(myparam)")
P> Right?
Partially. There must (0) in the end, to keep the result. .execute returns
recordset, (0) shows its field.
Vadim Rapp
Jan Flodin - 26 Jun 2007 06:52 GMT
Tried it. For some reason it claims "myudf is not a recognized function
name". Of course I have replaced myudf with the correct name. The thing is
that this message appears also on the clients where the inline functions are
working. You asked me what happens when I try to use a inline function on a
non working client. When I dubbelclick on it in the database window in the
ADP project the screen just blinks for a tenth of a second.

Signature
Jan Flodin
> JF> Unfortunately this solution did not make any difference. I suspect some
> JF> missing or old versions of .DLLs or .OCXs. But even though updating
[quoted text clipped - 19 lines]
>
> Vadim Rapp
Vadim Rapp - 26 Jun 2007 21:22 GMT
Hello Jan,
You wrote on Mon, 25 Jun 2007 22:52:00 -0700:
JF> Tried it. For some reason it claims "myudf is not a recognized function
JF> name".
this is usually returned when you call the udf without schema qualifier,
e.g. SELECT MYUDF() instead of correct SELECT DBO.MYUDF()
If this is not the case, I would run profiler on sql server and see what
comes in.
Vadim Rapp