scalar function return value into a VBA variable

  • Thread starter Sztranyovszky Tamás
  • Start date
S

Sztranyovszky Tamás

Hello,

I want to assign the return value of my MSDE scalar function to a
variable in VBA. The functions returns a DECIMAL(12,6) value. Please,
help me, how to do this... (I am using Access 2003, MDAC 2.8)

Thanks
 
G

Graham R Seach

I'm pretty certain you need to embed the call to the UDF within a stored
procedure, and use an ADO Command parameter to retrieve it.

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top