Search found 46 matches: oodbc

Return to advanced search

Re: TODBC - solved

ryugarai27 wrote:Lailton,

No. I've already installed ADS ODBC driver. I remember I didn't supply a username during ODBC driver installation, thus :

Local oODBC := TOdbc():New("AdvData")

solved the problem.

Thanks anyway..



Hey bro...
Kamusta ka na?

Best regards,
from us.
by fraxzi
Thu Mar 25, 2010 3:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TODBC
Replies: 3
Views: 962

Re: TODBC - solved

Lailton,

No. I've already installed ADS ODBC driver. I remember I didn't supply a username during ODBC driver installation, thus :

Local oODBC := TOdbc():New("AdvData")

solved the problem.

Thanks anyway..
by ryugarai27
Thu Mar 25, 2010 2:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TODBC
Replies: 3
Views: 962

TODBC

... #include "fivewin.ch" #include "ads.ch" #include "xbrowse.ch" #include "sql.ch" Function Main() Local oODBC := TOdbc():New("AdvData","ryugarai","") If !oOdbc:lSuccess oOdbc:ShowErrorList("ODBC session not successfully ...
by ryugarai27
Sun Mar 21, 2010 4:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TODBC
Replies: 3
Views: 962

Porting FW to FWH using MySql

... from FW to FWH . I use MySql , and in FW I used class TDbOdbc in this way : oDbf := TDbOdbc():new("SELECT * FROM mytab....... " , oOdbc) and then I scan ODbf structure to retrieve data . I use this method also in FWH and it work fine: why Antonio says that Tdbodbc is only for 16 ...
by wzaf
Thu Feb 04, 2010 10:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Porting FW to FWH using MySql
Replies: 19
Views: 2873

Re: ODBC

... Program: #include "FiveWin.ch" #include "XBrowse.Ch" #include "sql.ch" function Main() local adsn local xdsn local oodbc local oodbca xdsn:="inkom" oodbc:=TOdbc():new(xdsn) oOdbc:Create( "Test", { { "Name", "C", 50, 0,"NOT ...
by kajot
Sun May 24, 2009 5:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ODBC
Replies: 9
Views: 3936

Error with Todbc in FW0902

Hi, I've upgraded my xHarbour & FW and i'm getting the following error message when i'm trying to make a connection to a Sage table using oOdbc := TOdbc():New(cDsn, cName, cPass) AutoCommit could not be set from TOdbc:New() This worked on the previous version i used (FW0712) Any ideas? Thanks ...
by PeterHarmes
Thu May 07, 2009 9:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error with Todbc in FW0902
Replies: 7
Views: 819

ODBC with FileMaker

... I install the ODBC driver from Filemaker and make some test with SQL . The questions are : How to know the number of record with a select clause : oODBC := TOdbc():New("NEPHRO", "admin", "123") oDbf := oOdbc:execute("SELECT IPP FROM PATREC where IPP='25' ) How ...
by Jack
Wed Apr 01, 2009 9:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ODBC with FileMaker
Replies: 3
Views: 574

accesso a database SQL

Ad un server con SQL accedevo tramite ODBC con l'istruzione oOdbc := TOdbc():New( cDSN, cName, cPass ) e mi tiravo la mia query con: oDbf := oOdbc:Query(.....) il responsabile del server dopo un aggiornamento non riesce ad attivare più l'ODBC, di conseguenza ...
by damianodec
Mon Feb 16, 2009 3:05 pm
 
Forum: All products support
Topic: accesso a database SQL
Replies: 11
Views: 3129

MS Access

... I have two problems regarding a MS Access database. 1) From time to time I need to copy an entire access table to a dbf. I use oOdbc:Query("SELECT * FROM " + cTable) to create a temporary dbf then I read through it and append it to a dbf within the application. This is very ...
by Antonio Linares
Wed Aug 27, 2008 7:28 am
 
Forum: Utilities / Utilidades
Topic: Boris Pekic - NG's archive
Replies: 27
Views: 93904

Gracias Antonio

... conecer cuales son los comandos adicionales y si se le pude poner un alias. Mi idea es utilizar solo instrucciones SQL saludos, Marcelo oDbf := oOdbc:Query( "SELECT codigo,nom,tdebe,thaber FROM cc ") oDbf:lDateAsStr := .t. oDbf:cRDD := "DBFNTX" oDbf:Open() oDbf:Complete() Esto me funciona bien ...
by Marcelo De La Cruz
Tue Aug 12, 2008 3:51 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: comandos para usar sql
Replies: 5
Views: 1075

comandos para usar sql

Estimados Amigos, estoy comenzando a utilizar ms-sql con odbc, oDbf := oOdbc:Query( "SELECT codigo,nom,tdebe,thaber FROM cc ") oDbf:lDateAsStr := .t. oDbf:cRDD := "DBFNTX" oDbf:Open() oDbf:Complete() Esto me funciona bien , pero quiero ponerle un alias al oDbf ...
by Marcelo De La Cruz
Mon Aug 11, 2008 3:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: comandos para usar sql
Replies: 5
Views: 1075

... "Server01", cDsn) cName := oIni:Get( "ODBC", "DsnLoginID", "nn", cName) cPass := oIni:Get( "ODBC", "DsnPassWord", "xxxxxxxx", cPass) oOdbc := TOdbc():New(cDsn, cName, cPass) If !oOdbc:lSuccess .OR. lError(,,, .t.) oOdbc:ShowErrorList(LoadValue(1051, CH)) // ODBC session not successfully ...
by marzio
Wed May 28, 2008 9:51 am
 
Forum: All products support
Topic: ODBC con FWH
Replies: 1
Views: 942

Re: Ayuda con Sql

Hola amigos del foro Por favor que alguien me indique cual es el error en la siguiente instruccion: cTable:="ITEMS" arti:="43434" oDbf := oOdbc:Query( "SELECT * FROM " + cTable WHERE codigo=arti ORDER BY CODIGO ) Saludos Erick Almanza dicoms@gmail.com cTable:="ITEMS" arti:="43434" oDbf := ...
by wmormar
Wed Apr 30, 2008 5:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con Sql
Replies: 1
Views: 524

Ayuda con Sql

Hola amigos del foro

Por favor que alguien me indique cual es el error en la siguiente instruccion:
cTable:="ITEMS"
arti:="43434"
oDbf := oOdbc:Query( "SELECT * FROM " + cTable WHERE codigo=arti ORDER BY CODIGO )






Saludos
Erick Almanza
dicoms@gmail.com
by Erick Almanza
Wed Apr 30, 2008 5:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con Sql
Replies: 1
Views: 524

Problema per leggere una tabella MDB

... spazio al suo interno. In pratica c'è una tabella denominata ANAGRAFICO CONDOMINI e se provo a leggerla con cTable:="ANAGRAFICO CONDOMINI" oDbf:=oOdbc:Query("SELECT * FROM "+cTable) non me la trova. Esiste un modo per leggerla senza doverla rinominare nel file mdb ? Grazie
by Marco Turco
Mon Apr 28, 2008 3:08 pm
 
Forum: All products support
Topic: Problema per leggere una tabella MDB
Replies: 1
Views: 829
PreviousNext

Return to advanced search