G
Guest
I've created new UDFs that return primary kesy from a table based on a string
passed. I'm using these within my stored procedures with no problem, so I
know my UDF's are working properly.
What I want to do now is use these same UDF's within my Access Application
to Return a looked up Primary Key or to find the Maximum Primary Key. How can
I retrieve a UDF Value in Access. (i.e. assign the returned value to a
variable.) Right now, I'm running Views that return a Maximum Value (in some
cases) and I do so by creating a recordset and then looking up the value). I
know this can't be the most efficient manner in doing this. I woudl assume
there is a way I can execute a UDF and place the returned value into a
variable, wihtout having to create a recordset?
Thanks
passed. I'm using these within my stored procedures with no problem, so I
know my UDF's are working properly.
What I want to do now is use these same UDF's within my Access Application
to Return a looked up Primary Key or to find the Maximum Primary Key. How can
I retrieve a UDF Value in Access. (i.e. assign the returned value to a
variable.) Right now, I'm running Views that return a Maximum Value (in some
cases) and I do so by creating a recordset and then looking up the value). I
know this can't be the most efficient manner in doing this. I woudl assume
there is a way I can execute a UDF and place the returned value into a
variable, wihtout having to create a recordset?
Thanks