Consult Module - Nov 98 - by Patrice FAVRE -------------- This module consults an external database, through ODBC, giving a list of users having the same key words as the logged user. This module is closely linked to the regdb module. There are two groups of information (means two tables in the database) : - group 1 : login name, e-mail address - group 2 : login name, key words To set up the database, you have to declare the name of the database (as indicated in ODBC settings). The login and password for access ("admin","" should be ok). Then you have to enter the table name, column names for the two tables : login table for group 1 and key words table for group 2. The "max number of elements" field fixes the maximum length of the list shown. This list is sorted by descendant number of common key words. It provides 2 entries : - start : start the login client module and shows the interface - destroy : destroy the login client module There are 4 events : - started : login client module has been started - destroyed : login client module has been destroyed - shown : database request has been completed and the list is shown - selected : a login name has been selected from the list ; this event is sent with the parameter "snd sender_e-mail_address\nrcp recipient_e-mail_address" (this format is needed by the mail module) There is 1 zone (if no zone associated, the interface is a popup window) : - List : interface zone