Search found 74 matches: db2

Return to advanced search

Re: adodb one or more connection

I open the first connection (DB2): pgm1.prg Connessione := "Provider=IBMDA400; Data Source=192.168.1.1; User Id=userid; Password=password; Default Collection=Library;"oCn := FW_OpenAdoConnection( Connessione, .t.)  DB2 ...
by damianodec
Wed Feb 22, 2023 7:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: adodb one or more connection
Replies: 6
Views: 413

adodb one or more connection

Hi,
Can I to have two adodb connections at the same time on different databases?

I have two servers and I'd like to open one connection tu DB2 and another to SQL Server.

thank you

Damiano.
by damianodec
Fri Feb 17, 2023 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: adodb one or more connection
Replies: 6
Views: 413

Re: FW_OpenRecordSet and NOWAIT dialog

hi Rick, thank you. My program has about 100 menu items and about 50 users are in the lan that use my progr .exe each item open connection to DB2 and close connection when exit. main()...MENU oMenu    MENUITEM o_Menu[01][01] PROMPT "Ufficio Acquisti"    MENU  ...
by damianodec
Tue Oct 26, 2021 2:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_OpenRecordSet and NOWAIT dialog
Replies: 8
Views: 796

in php I do this way, but how in fw SOLUCIONADO

Hi, this run ok in php.............but how I do in fw $resulta1 = mysqli_query($conexion, " SELECT * FROM $tabla_db2 WHERE subcta = $cue "); $consulta1 = mysqli_fetch_array($resulta1); $claveve = $consulta1['clave']; $nombre = $consulta1['subnom']; $cuentaoriginal = $consulta1['cta']; $tip...
by D.Fernandez
Sun Nov 29, 2020 12:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: in php I do this way, but how in fw SOLUCIONADO
Replies: 5
Views: 816

Asi se hace en php como lo hago en fw SOLUCIONADO

Amigos, sigo insistendo porque no me sale. esto funciona en php.............quisiera hacer lo mismo desde fw $resulta1 = mysqli_query($conexion, " SELECT * FROM $tabla_db2 WHERE subcta = $cue "); $consulta1 = mysqli_fetch_array($resulta1); $claveve = $consulta1['clave']; $nombre = $consult...
by D.Fernandez
Sun Nov 29, 2020 12:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Asi se hace en php como lo hago en fw SOLUCIONADO
Replies: 1
Views: 361

Re: xbrowse to excel field date

hi Mr Rao
column date comes from a ado object.
it read a Db2 table from as400.
in the sql select column date is a date field
SELECT code, description, date...

code and description are varchar and date is date field.

thank you.
by damianodec
Sat Sep 19, 2020 8:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse to excel field date
Replies: 4
Views: 725

Re: FWCONNECT con Mysql 8.017

xmanuel wrote:HDO también funciona en 32 y 64, además funciona con SQLite, Access, MS Server, DB2 etc, etc :D


Saludos Manu, como estas?

Te he escrito varias veces a tu email pero no hay respuesta
by Compuin
Wed Dec 04, 2019 2:59 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FWCONNECT con MysqL (SOLUCIONADO)
Replies: 23
Views: 3771

Re: FWCONNECT con Mysql 8.017

HDO también funciona en 32 y 64, además funciona con SQLite, Access, MS Server, DB2 etc, etc :D
by xmanuel
Wed Dec 04, 2019 2:58 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FWCONNECT con MysqL (SOLUCIONADO)
Replies: 23
Views: 3771

error FW_OpenAdoConnection SOLVED

hi, I'm converting my .prg from FHW(17.09) + xHarbour to FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 this code (Ado fo DB2 AS400): #include "FiveWin.ch"//----------------------------------------------------------------------------//function main()local oCnLOCAL Connessione ...
by damianodec
Tue Oct 08, 2019 2:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: error FW_OpenAdoConnection SOLVED
Replies: 1
Views: 428

Re: null field in FW_OpenRecordSet

db2 progrramers use RPG III language (like me), when we write a record we can write all fields of record or just some fileds. i.e.: Tabld MYTABLE record name MYREK with 3 fields: A CAHR(10)B CHAR(10)C DECIMAL(3, ...
by damianodec
Thu Feb 21, 2019 3:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: null field in FW_OpenRecordSet
Replies: 11
Views: 1733

Re: null field in FW_OpenRecordSet

... is not recognising this oRs as a valid recordset. The problem is not in FW_OpenRecordSet() The problem is (1) either in the Oledb Provider for DB2 which is unable to handle this table correctly or (2) The data in this table is corrupted. Next best option now is to read selected fields: SELECT ...
by nageswaragunupudi
Thu Feb 21, 2019 2:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: null field in FW_OpenRecordSet
Replies: 11
Views: 1733

Re: null field in FW_OpenRecordSet

Can you please test
? oRs:State

This is surprising.
I have no experience with DB2, but when tested with mysql,msssql,oracle, etc. we never had any problem with fields containing null values. Anyway we will again test with null values.
by nageswaragunupudi
Thu Feb 21, 2019 1:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: null field in FW_OpenRecordSet
Replies: 11
Views: 1733

null field in FW_OpenRecordSet

Hi, I have this problem. I use a my function to read tables in DB2 database into XBROWSE: cSelect = "Select * from MyTable "  oRs := FW_OpenRecordSet( oConnnection, cSelect, 1 )......@ 40,10 XBROWSE oBrw SIZE -10,-50 PIXEL CELL AUTOSORT ...
by damianodec
Thu Feb 21, 2019 11:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: null field in FW_OpenRecordSet
Replies: 11
Views: 1733

Re: Busqueda SQL

Mr. Rao:

I mean with DB2 data base there are problems.

Regards
by Armando
Sat Jul 14, 2018 2:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Busqueda SQL
Replies: 15
Views: 3079

help FW_OpenAdoConnection

Hi , I have my exe installed on about 10 pc (Windows 10, Windows seven,...) with this String connection for DB2 connection: local Connessionelocal oCnConnessione := "Provider=IBMDA400; Data Source=192.168.1.200; User Id=THISISID; Password=THISIPSW; Default Collection=LIBRARY;"oCn ...
by damianodec
Thu Jan 18, 2018 4:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: help FW_OpenAdoConnection
Replies: 3
Views: 762
Next

Return to advanced search