AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Administrar bases de datos / HFSQL / Funciones HFSQL Client/Server
  • Operating mode
  • Customizing the display of messages
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Displays a message on the Client computers and disconnects the application. The affected Client computers are those specified in the HClient structure.
Ejemplo
// Disconnect all users from the "MAILBOX" database
HClient.Database = "MAILBOX"
HDisconnectClient("MyConnection", "Warning: Disconnection imminent", 300)
Sintaxis
<Result> = HDisconnectClient(<Connection> , <Disconnection message> , <Display duration>)
<Result>: Boolean
  • True if the operation was performed,
  • False if a problem occurs.
The function HDisconnectClient function is blocking: the rest of the program will only run once the various clients have been disconnected.
<Connection>: Character string or Connection variable
Connection to use. This connection corresponds to:
<Disconnection message>: Character string
Message that will be displayed on the client computer before the disconnection.
<Display duration>: Integer or Duration
Display duration of message (in seconds). This parameter can correspond to:
  • an integer corresponding to the number of seconds,
  • a Duration variable,
  • the duration in a readable format (e.g., 1 s).
AndroidWidget Android The window cannot be automatically closed once this time has elapsed. The window remains displayed. To complete the disconnection process without displaying the window, the <Display duration> parameter must be set to 0.
Observaciones

Operating mode

The client computer specified in the HClient structure displays the message during the specified duration and runs EndProgram when the message box is closed.

Customizing the display of messages

HOnServerCall is used to customize the management of message display on the client computer.
Clasificación Lógica de negocio / UI: Lógica de negocio
Componente: wd300hf.dll
Versión mínima requerida
  • Versión 10
Esta página también está disponible para…
Comentarios
Desconectar Banco
HClient.Database = "matos"

HDisconnectClient(Matos_hyperfil_server, EDT_OBSERVACAO, 15)

// blog com vide o exemplo


http://windevdesenvolvimento.blogspot.com.br/2017/07/aula-1213-windev-hyperfile-29.html

https://www.youtube.com/watch?v=vb-aWdJsoGI

De matos
18 07 2017

Última modificación: 12/06/2025

Señalar un error o enviar una sugerencia | Ayuda local