>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Take a look at the ADO command object, which allows you to call a stored procedure, specifying parameters. This may or may not provide a solution, but it's a good start (I haven't worked with Oracle functions so this may be off-base, but I wanted to at least give you a lead).
The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts. - Bertrand Russell