FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WEBDEV 2024
→
Attaching a Dymo Label Print and a Database call on the same button click
Attaching a Dymo Label Print and a Database call on the same button click
Iniciado por Ben, 09,dic. 2016 02:28 - 2 respuestas
Conéctese…
Ben
#1
Publicado el 09,diciembre 2016 - 02:28
Hi,
Im currently trying to create a visitor sign in system. Currently I have javascript to print a visitor label upon pressing the signin button however it only works if imported as a seperate javascript file and when done like this the writing to the database doesn't work in the click of button (server) code.
Any idea of how I can get these thing functioning together?
Also the label printer I'm using is a DYMO LabelWriter 450 so the javascript uses the DYMO SDK.
Cheers for any help,
Ben
Informar
0
0
Fabrice Harari
#2
Publicado el 09,diciembre 2016 - 12:51
Hi Ben,
there are several ways of doing that.
- You can include an ajaxexecute call in your browser code before or
after printing in order to call your server procedure
- You can start a timer before printing and having an executeprocess of
another button in the timer code
- you can try to isolate the printing code in a separate button, call it
from your main button with an executeprocess and see if the server code
of your main button runs in that case
- ...
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)
More information on
http://www.fabriceharari.com
Le 12/8/2016 à 8:28 PM, Ben a écrit :
Hi,
Im currently trying to create a visitor sign in system. Currently I have
javascript to print a visitor label upon pressing the signin button
however it only works if imported as a seperate javascript file and when
done like this the writing to the database doesn't work in the click of
button (server) code.
Any idea of how I can get these thing functioning together?
Also the label printer I'm using is a DYMO LabelWriter 450 so the
javascript uses the DYMO SDK.
Cheers for any help,
Ben
Informar
0
0
Ben
#3
Publicado el 11,diciembre 2016 - 23:56
Hi Fabrice,
Thanks for the reply. I ended up solving the problem via making the external javascript reference onfocus for the button instead of onclick so that it did not overwrite the WLanguage code.
Thanks for the help,
Ben
Informar
0
0
→ Volver a WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto