Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I call a SQL UDF from clarion?

Status
Not open for further replies.

ChrisH2

Programmer
Apr 18, 2002
44
GB
Has anyone managed to call a SQL function from clarion?

I am able to call a stored procedure and pass parameters back as per the help. I do this by binding a data field and using &myVar [out]. There is nothing in the help with regards to functions.

Has anyone got any ideas?

Thanks,

Chris

 
Hi Chris,

An SQL UDF function is not called directly but through a SELECT statement. In Clarion, you can use the PROP:SQL to do that i.e.

File{PROP:SQL} = 'SELECT UDF(Column) FROM Table'

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top