Search found 45 matches: table1

Return to advanced search

Nages, 2 diferent Db's update

... USER "userx" PASSWORD "passx" DB "xDb"       oDbSend:=oSvr:Rowset("select codigo,data1,data2 from table1 where condition")         nTotal:=oDbSend:RecCount()        If nTotal > 0           For x=1 to nTotal               oRem:Execute( ...
by Adolfo
Tue Jan 16, 2024 1:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Nages, 2 diferent Db's update
Replies: 2
Views: 721

mod Harbour is Harbour for the web

... https://github.com/FiveTechSoft/screenshots/blob/master/table1.jpg?raw=true https://github.com/FiveTechSoft/screenshots/blob/master/tablecode1.jpg?raw=true
by Antonio Linares
Wed May 22, 2019 3:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: mod Harbour is Harbour for the web
Replies: 5
Views: 1408

Re: Mysql y Dbf

Hola, es tan sencillo como : CREATE TEMPORARY TABLE IF NOT EXISTS table2 AS (SELECT * FROM table1)  esa sentencia te crea una tabla temporal table2 con la estructura de la tabla table1, y con la información de la misma. También puedes utilizar el clasico formato ...
by Marcelo Via Giglio
Thu Nov 16, 2017 12:04 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mysql y Dbf
Replies: 12
Views: 1868

FWH 16.06: MariaDb/MySql Backup and Restore (Updated 16.08)

... made. This enables copying some table[s] from one database to other database. oCn:SelectDB( "db1" )oCn:BackUp( { "table1", "table2" }, "temp.sql" )oCn:SelectDB( "db2" )oCn:Restore( "temp.sql", { ...
by nageswaragunupudi
Sat Aug 06, 2016 5:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 16.06: MariaDb/MySql Backup and Restore (Updated 16.08)
Replies: 48
Views: 20531

Re: ADO RDD xHarbour

... MSSQL. Antonio, there are a error with ACCESS!!! Error description: Error ADODB.Recordset/6 DISP_E_UNKNOWNNAME: OPEN Args: [ 1] = C SELECT * FROM TABLE1 ORDER BY HBRECNO [ 2] = O ADODB.Connection [ 3] = N 2 [ 4] = N 3 [ 5] = N 0 Stack Calls =========== Called from: => TOLEAUTO:OPEN( 0 ) Called ...
by byte-one
Tue Oct 20, 2015 2:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446066

Re: ADO RDD xHarbour

Antonio, with Access i read this error: Error description: Error ADODB.Recordset/6 DISP_E_UNKNOWNNAME: OPEN Args: [ 1] = C SELECT * FROM TABLE1 ORDER BY HBRECNO [ 2] = O ADODB.Connection [ 3] = N 2 [ 4] = N 3 [ 5] = N 0 Stack Calls =========== Called from: => TOLEAUTO:OPEN( 0 ) Called from: ...
by byte-one
Tue Oct 20, 2015 12:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446066

Re: ADO RDD xHarbour

... DISP_E_UNKNOWNNAME: OPEN Args: [ 1] = C SELECT `AUTO_INCREMENT` FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'adisc' AND TABLE_NAME = 'TABLE1' [ 2] = O ADODB.Connection Stack Calls =========== Called from: => TOLEAUTO:OPEN( 0 ) Called from: C:\adordd\adordd.prg => ADORECCOUNT( ...
by byte-one
Tue Oct 20, 2015 11:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446066

Re: ADO and Lock

In a Sql concept,you will do : oRs:Open("select ID FROM TABLE1",oCon) wid:=oRs:Fields("ID"):Value wid:=wid+1 UPDATE TABLE1 SET ID=wid * How can you lock, how are you sure that this code is not execute at the same time from another computer ...
by Jack
Thu Aug 27, 2015 9:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO and Lock
Replies: 27
Views: 6940

Re: ADO RDD xHarbour

... or ASC DESC This Set cannot include Clipper/(x)Harbour functions as they are unknown to SQL. Example: SET ADO TABLES INDEX LIST TO { {"TABLE1",{"FIRST","FIRST DESC"} }, {"TABLE2" ,{"CODID","CODID"}} } B) SET ADODBF TABLES INDEX ...
by AHF
Fri Aug 07, 2015 8:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446066

Re: ADO RDD xHarbour

The file() function does not seem to be working. In the tryadordd.prg this function is used like this: if !FILE("table1;northwind.mdb") It always returns .F. even when the table exists. I also tried it with the preceding \ syntax (that is used elsewhere in the example program): ...
by James Bott
Sun Jul 26, 2015 12:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446066

Re: ADORDD Error : ADODEFAULT(5256)

... the ADODBF are for the normal clipper expressions to allow its evaluation. ARRAY SPEC FOR BOTH CASES: ATTENTION ALL MUST BE UPPERCASE { {"TABLE1",{"FIRST","FIRST"} }, {"TABLE2" ,{"CODID","CODID"}} }
by dutch
Wed Jun 17, 2015 10:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADORDD Error : ADODEFAULT(5256)
Replies: 21
Views: 3905

Re: ADO RDD xHarbour

Lucas, Try it like this: //sql expressions only SET ADO TABLES INDEX LIST TO {{ "TABLE1", {"TEST1", "FIRST"} ,; {"TEST2", "LAST"} ,; {"TEST3", "AGE"} },; {"LUCAS", {"LUCAS1", ...
by AHF
Tue May 19, 2015 9:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446066

Re: ADO RDD xHarbour

Antonio, It´s not working: SET ADO TABLES INDEX LIST TO {{ "TABLE1", {"TEST1", "FIRST"} ,; {"TEST2", "LAST"} ,; {"TEST3", "AGE"} },; {"LUCAS", {"LUCAS1", "NOMBRE"} ...
by lucasdebeltran
Tue May 19, 2015 9:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446066

Re: ADO RDD xHarbour

Antonio, Also indexes with conditions do not work, here LUCAS2: SET ADODBF TABLES INDEX LIST TO { { "TABLE1", {"TEST1", "FIRST"} ,; {"TEST2", "LAST"} ,; {"TEST3", "AGE"} },; {"LUCAS", {"LUCAS1", ...
by lucasdebeltran
Tue May 19, 2015 8:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446066

Re: ADO RDD xHarbour

... ADO_RELEVAL( nWA, aRelInfo ) is "allowed" In tryadordd.prg the relation should finished after the Do WHILE... MSGINFO("DOES TABLE1 EXISTS ON DB ?"+CVALTOCHAR(hb_adoRddExistsTable( "table1") )) shows .F. ???
by byte-one
Sat May 16, 2015 7:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446066
Next

Return to advanced search