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 Shaun E 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 create functions in coldfusion

Status
Not open for further replies.

Gill1978

Programmer
Jun 12, 2001
277
GB
Hi!

I'm trying to convert PowerBuilder Code into SQL so as to use in a coldfusion file, however I don't know how to create a function.

THis powerbuilder function is:

li_ret = of_save_usm_trans()
If li_ret < 0 Then
RETURN li_ret
END IF

How do i go about re-creating that?

The of_save_usm_trans() returns a value of 1 if the function runs without error, or -1 if there is an error

Thanks

Jules
 
Not sure what you are trying to do, but you either have to rewrite this with CF code, or in worst-case write a custom tag (but shop around first, someone may already have written it.)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top