[Gambas-user] how to raise error to main sub or starter point

PICCORO McKAY Lenz mckaygerhard at ...626...
Thu Jun 2 20:22:12 CEST 2016


i have a form and two functions


Form_Open() that have a sql query and a catch as:

  Catch
    Debug ("ERROR-> [ " & Error.Where & " " & Error.Code & " " & Error.Text
& " ] ")
    Message.Error("<b>ERROR send a mail: -> </b><br>[ <br>" &
DConv(Error.Text) & " <br> " & DConv(Error.Where) & "<br>]")
    QUIT

and the other fuction "login()" have also sql and a catch

how can i raise the error inside "login" to the main "Form_Open" ?


Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com



More information about the User mailing list