Adriano, creo que esto es lo que necesitas
Además en la página oficial de firebird tienes más información sobre los drivers odbc.
Lo demás ya es utilizar los mismos comandos que para cualquier otra conexión. No debe haber ninguna diferencia ( ojo, que te hablo sin utilizar esta base de datos, cierto es que hace tiempo probé si conectaba con las rutinas de fw y una vez comprobado, lo dejé ahí ).
↧
Como hacer conexion a base de datos Firebird...
↧
Como borrar Varios Registros utilizando fwhMariaDB
Hola amigos del forum.
Estoy intentando borrar varios registros que cumplen ciertas condiciones:
CODIGO VIGENCIA VALOR
010036 2016 100
010036 2017 200
010040 2013 120
010040 2014 80
010040 2015 50
.
.
.
Osea quiero borrar todos los registros del codigo 010036, la rutina que utililzo siempre me deja un registro sin borrar, este es el codigo:
cCSql :="DELETE " + "* " + "FROM " + "impcont " + "WHERE " + "CODIGO='" + oUni:ccodigop + "'"
TRY
oCn:Execute(cCSql)
Msginfo("registros Borrados " )
CATCH oError
MsgInfo("No pude ejecutar el comando " )
RETURN(.F.)
END
↧
↧
#command Syntax
hi Antonio,
[quote="Antonio Linares":3kl5tmid]The simplest way uses to be the best one [/quote:3kl5tmid]
i agree : keep it simple
[code=fw:3kl5tmid][/code:3kl5tmid]
but there is also this Syntax
[code=fw:3kl5tmid][/code:3kl5tmid]
that is why Alaska also use ASSIGN / ACCESS Method and Xbase++ User can " := " Syntax.
[code=fw:3kl5tmid][/code:3kl5tmid]
i'm searching for a (easy) Way to run (those) existing Xbase++ Code under harbour.
i have a HbXbase.CH like this and #include it in my Project
[code=fw:3kl5tmid][/code:3kl5tmid]that Way it is less work to change Xbase++ Source to get it compile/link ... than the real Work begin.
so how do more #xcommand with harbour
---
p.s.
Progressbar is just a Sample.
i saw FW have a "green" Progressbar (PROGRESS_CLASSA) which i want to use in next Step.
↧
New FWH 19.09
I built your sample code, without any changes, and tested it.
Your point is that cell edits are not being saved in 1909 unless we add extra code to save.
I did not notice any such problem.
Here I found that cell edits are all being saved correctly.
[url=https://imageshack.com/i/pl9LrELpg:1yv1sj3i][img:1yv1sj3i]https://imagizer.imageshack.com/img921/5140/9LrELp.gif[/img:1yv1sj3i][/url:1yv1sj3i]
Am I missing something?
If you help us to reproduce your problem, we can provide a solution.
↧
make error after upgating to MacOs Catalina
Hello Antonio and Manuel,
Thank you for looking into this problem.
BTW, i am using xcode version 9 (version 9.4.1) because some users of my software use an older version of MacOs and they got an error when I compiled with xcode 10 (software not suitable for this version)
↧
↧
Question for users in FastReport / Pregunta para usuarios en
Is it possible to export a report from fastReport to Pdf or html, for example without opening the preview window ?, that is, programmatically.
What would be the script to be developed.
Es posible exportar un report de fastReport a Pdf o html, por ejemplo sin abrir la ventana de preview?, es decir, programaticamente.
Cual sería la secuencia de comandos que hay que desarrollar.
↧
Importar a DBF desde CSV
Hola amigo:
Comprobado que convierte bien, mira el fichero yo lo dejo asi de la manera que te explique
con el Notepad++, cuesta muy poco. Reemplazar o macros
[code=fw:dhe1sgam][/code:dhe1sgam]
guardalo con "operacio.csv"
Luego le aplico este codigo.
[code=fw:dhe1sgam][/code:dhe1sgam]
si no encuentas nada mejor .....
Saludos
Jose.
↧
Using hbmk2 to build mod_harbour !!!
Final files:
[url:k9jo37uu]https://github.com/FiveTechSoft/mod_harbour/tree/master/hbmk2/windows[/url:k9jo37uu]
↧
FIVEWIN POCKET PC
Si, actualizado y funcionando correctamente
Se utilizó en Corea del Sur para un proyecto del ejército del Aire, asi que imagina lo duro que es
↧
↧
How to read position and size of a dialog box
[quote:kexv8k7o]How can I read the position and the size of a dilalog box in my application?[/quote:kexv8k7o]
To get the dialog position from screen-top and left and the dialogsize
oRect := oDlg:GetRect()
nTop := oRect:nTop
nLeft := oRect:nLeft
nWidth := oDlg:nWidth
nHeight := oDlg:nHeight
// ----------------
Resizing a dialog You need as well :
nBottom := oRect:nBottom
nRight := oRect:nRight
// restore the dialog to a saved position
oDlg:Move( nTop, nLeft, nRight - nLeft, nBottom - nTop )
Window :
aRect := GetWndRect( oWnd:hWnd )
nTop := aRect[ 1 ]
nLeft := aRect[ 2 ]
nBottom := aRect[ 3 ]
nRight := aRect[ 4 ]
nHeight := aRect[ 3 ] - aRect[ 1 ] + 1
nWidth := aRect[ 4 ] - aRect[ 2 ] + 1
regards
Uwe
↧
SEAMAP - change method browse to TEXTAREA / ENDTEXT
Dear Antonio,
can you please show for SEAMAP project how we can change method browse to TEXTAREA / ENDTEXT style
and how controller has to be changed.
Best regards,
Otto
↧
Ayuda para Construir un Grafico
Amigos, tengan muy buenas tardes.
Como siempre requiero de su noble ayuda.
Debo construir un grafico y para ello, tengo una DBF con los siguientes Campos.
Peri = Periodo guarda el Mes y año, que puede ir de Enero a Diciembre en Formato " 10/2019"
Tip_Ate = Tipo de Atención en un dia cualquiera puedo tener Ingresos por "C", "A" y "P", (Consulta, Altura, Preocupacionnal)
Ejemplo:
Peri C A P
Por lo que tedria: 10/2019 10 4 2
09/2019 6 15 10
.......
Necesito poder mostrar un grafico con esta distribución.
Desde ya agradeciendo de su ayuda, les saluda.
Antonio.
↧
Abnormal programa termination
ya tienes el linc en tu correo
Saludos
↧
↧
LINK ERROR: 19.09
I did comment out the functions in G_Server and the graphs seem to work ... but maybe I need a different approach to graphs now.
What graphing functions are available in FWH 19.09 now that are working well ? ( I hate to think of rewriting a bunch of graphs ... but ...
↧
Como mejorar la calidad de las imágenes
Reading image directly from a website and displaying in a dialog:
[code=fw:26ijj7hf][/code:26ijj7hf]
Compare result directly with the original webpage:
[url=https://imageshack.com/i/pmOtxpPhp:26ijj7hf][img:26ijj7hf]https://imagizer.imageshack.com/v2/xq90/922/OtxpPh.png[/img:26ijj7hf][/url:26ijj7hf]
↧
Eagle1 para Bcc 7.x y cualquier version de Harbour y FWH
Hola para todos los usuarios de Eagle1.
Está disponible para cualquier compilador de Windows.
También informaros que estoy trabajando en HDO.
HDO es un nuevo concepto de acceso a bases de datos universal.
En la actualidad existen RDL para:
- MySQL
- MySQL empotrado o embebido.
- MariaDb
- SQLite
- SQLSipher
- ODBC
Saludos
↧
Actualizacion del Eagle1
Ya
↧
↧
make error after upgating to MacOs Catalina
Steps to use OSX Catalina:
1. xcode-select --install
After this FiveMac working fine!
↧
LINK ERROR: 19.09
FWH was using the trigonometric functions PI(),COS(),SIN(), etc for a very long time in classes TGraph, XImage and Tselector. Probably you might have never used any of these classes in your programs. Had you used any of these classes, you would have faced this issue with earlier versions also.
In the current version imgtxtio.prg uses these functions for the first time and this module is compulsorily linked with all applications. That is the reason you faced this issue now.
FWH1909 introduced new charting functions for display, printing and also for the generation of PDFs. We will soon be introducing these functions by postings in the forums, but for now, you can see
If gserver library is providing more features, you are welcome to suggest and we will try to provide them soon.
↧
Como borrar Varios Registros utilizando fwhMariaDB
Mr. Rao
thanks, solved
Perfect is VarChar code (6)
cCmdSql :="DELETE FROM impcont WHERE rtrim(CODIGO)" + "='" + oUni:ccodigop + "'"
TRY
oApp:oCn:Execute(cCmdSql)
Msginfo("Tabla Con los registros Borrados " )
CATCH oError
MsgInfo("No pude ejecutar el comando " )
RETURN(.F.)
END
↧