Examples of using Database method in English and their translations into Portuguese
{-}
-
Colloquial
-
Official
-
Medicine
-
Financial
-
Ecclesiastic
-
Ecclesiastic
-
Computer
-
Official/political
The database method is called with the URL.
The On Mobile App Authentication database method is not defined in the application.
For more information about this parameter,please refer to the description of the On Web Connection database method.
  The On Drop database method is available in local or remote 4D applications.
This is useful when a stored procedure is launched using the On Server Startup database method.
The On Server Startup database method is NOT invoked by any 4D environment other than 4DÂ Server.
For more information, please refer to the On 4D Mobile Authentication database method description in the 4D Language Referenc e.
In this case, the database method is called even when the application is not launched.
These two values are then sent to the On Web Authentication database method along with the other connection parameters.
The On Server Startup database method is called once on the server machine when you open a database with 4D Server.
These two values are then sent encrypted to the On Web Authentication database method with the other connection parameters.
Compatibility note: The database method is also called when 4D receives a URL beginning with 4DMETHOD/.
With the Web server's connection control system, managed by the password system andthe On Web Authentication Database Method.
If the On Web Authentication Database Method exists, it is executed and all its parameters are given.
To automatically execute code on a client machine when a remote 4Dconnects to the server, use the On Startup database method.
The On Web Close Process database method is called by 4D each time a Web process is about to finish its execution.
Note: If the user name sent by the browser is an empty string andif the On Web Authentication Database Method doesn't exist, a password dialog box is sent to the browser.
When this database method is called, the context of the session(variables and selections generated by the user) is still valid.
This command can be used for security reasons in the On Web Authentication Database Method in order to determine the nature of the received requests.
The database method receives up to three parameters of the Text type, passed by 4D($1, $2 and $3), and returns a Boolean, $0.
In this case,if the connection has been accepted by the On Web Authentication Database Method, the Generic Web User's access rights will be applied to the browser.
The database method receives two parameters($1 and $2) of the Text type and a Boolean($3), passed by 4D, and returns a Boolean, $0.
Now we just have to"call" this method wen 4D is launched.Close the method and then we will look for the"On Startup" database method in the list of methods. .
If an On 4D Mobile Authentication database method is defined, the control of automatic accesses by 4D passwords is disabled.
Warning: Since this command causes the application to quit before re-opening with the specified database, it is not recommended to use it in the On Startup database method, orin a method called by this database method.
The On Mobile App Authentication database method is always called for a first connection, even if the mobile application was built in Guest mode.
This database method is automatically executed in the case of objects being dropped in the 4D application outside of any form or windows, i.e.
This example of the On 4D Mobile Authentication database method checks that the connection request comes from one of the two authorized Wakanda servers, saved in the users of the 4D database. .
In Methods, Database Methods> On Host Database Method, we will copy the code shown in the documentation; this means the 4 events are visible here, and we use the method we created in the component while indicating just the event that is running.
The On Web Authentication database method is automatically called, regardless of the mode, when a request or processing requires the execution of a 4D method. .