Four Js Development Tools Forum

Discussions by product => Genero BDL => Topic started by: Massimiliano D. on February 24, 2010, 01:36:46 pm



Title: Feature Request
Post by: Massimiliano D. on February 24, 2010, 01:36:46 pm
Is possible to add to the SQLCA record the last executed query so when sql error happen is simple to obtain the erroneous query for example

main


end main


Title: Re: Feature Request
Post by: Massimiliano D. on February 24, 2010, 01:40:17 pm
Sorry, i post before finish write....
so i think someting like


main
   whenever error call my_function
   select ..... from ....


end main

function my_function()
   call errorlog(SQLCA.sql||"\n"||SQLERRM)
end function


Title: Re: Feature Request
Post by: Bernard M. on February 24, 2010, 03:42:56 pm
There is already a new feature request registered for this: #3789.

You can have a look in our Issue Tracker:
https://4js.com/support/issue/?id=3789

I will add you to the list of requesters of this enhancement.

Regards,
Bernard