Home » Developer & Programmer » Forms » How to Get :System.Current_form in a DB Trigger ?
How to Get :System.Current_form in a DB Trigger ? [message #80255] Fri, 30 August 2002 06:31 Go to next message
Robinson
Messages: 5
Registered: August 2002
Junior Member
Look,

I need to know the form's name that fires a database trigger (insert delete update in a table), i find :system.current_form but it doesn't work in the DataBase trigger, i need to save the name of the form that fire that Data Base Trigger, How can i do it ?

Thanks
Re: How to Get :System.Current_form in a DB Trigger ? [message #80258 is a reply to message #80255] Fri, 30 August 2002 13:04 Go to previous messageGo to next message
Gursharn
Messages: 4
Registered: August 2002
Junior Member
There are two possibilities that you can use with the
get_application_property built-in that will help you.

1. get_application_property(current_form)
Returns the .FMX file name of the form currently being executed.

2. get_application_property(CURRENT_FORM_NAME)
Returns the name of the current form as indicated by the form module Name property.

good luck :)
It doesn't Work in a Database Trigger [message #80276 is a reply to message #80258] Mon, 02 September 2002 07:22 Go to previous message
Robinson
Messages: 5
Registered: August 2002
Junior Member
Thanks But your idea doesnt work in a data base trigger, i need to recovery then name of the current form that fire a database trigger!
Previous Topic: Re: Popup windows
Next Topic: I WANT TO RUN MY FORM S ON NET
Goto Forum:
  


Current Time: Thu Feb 29 09:56:21 CST 2024