Search found 39 matches: cselect

Return to advanced search

... la tDataBase, pero ha terminado siendo una clase nueva por la cantidad de nuevos aportes que entrega. Entonces... si creas la clase asi... Local cSelect:= "select Cli.RUT, Cli.RAZON, Cli.DIRECCION from CLIENTES as Cli" oDbCli:=TAdoBase():New( oCn, "CLIENTES", cSelect ) Entonces tienes : oDbCli:RUT ...
by Adolfo
Fri Jun 13, 2008 12:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADOBASE, ultima version muy mejorada.
Replies: 27
Views: 6268

xBrowse

... + " -> " + oErr:Description ) Retorno:=.F. END Return Retorno Function maestro() local oBrw Local cSelect:= "select maestro.FECASI, maestro.ASIENTO, maestro.DESCASI, maestro.TOTDEB, maestro.TOTHAB from maestro" oDbDet:=TAdoBase():New( ...
by luisduque
Fri May 23, 2008 7:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse
Replies: 3
Views: 1128

txbrowse ado dbf

... oErr MSGAlert( "Error: " + oErr:Operation + " -> " + oErr:Description ) Retorno:=.F. END Return Retorno Function maestro() local oBrw Local cSelect:= "select maestro.FECASI, maestro.ASIENTO, maestro.DESCASI, maestro.TOTDEB, maestro.TOTHAB from maestro" lAdo := .t. If lAdo oDbDet:=TAdoBase():New( ...
by luisduque
Thu May 22, 2008 3:48 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: txbrowse ado dbf
Replies: 2
Views: 861

Here is the source code for DbChoice() function DbChoice( cTitle, cSelect ) local oDlg, oBrw DEFINE DIALOG oDlg RESOURCE "DbChoice" TITLE cTitle REDEFINE LISTBOX oBrw ; FIELDS ArCust->Code, ArCust->Name ; HEADERS "Code", "Name" ; ID 100 OF oDlg ACTIVATE ...
by davidlim
Wed May 14, 2008 11:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: HELP!
Replies: 20
Views: 3176

Re: HELP!

... a customer", 1 ) ) oGetCodex:VarPut( AllTrim( ArCust->Code ) ) oGetCodex:Refresh() // repaints the GET return nil function DbChoice( cTitle, cSelect ) local oDlg, oBrw DEFINE DIALOG oDlg RESOURCE "DbChoice" TITLE cTitle if cSelect = 1 REDEFINE LISTBOX oBrw ; FIELDS ArCust->Code, ArCust->Name ...
by dutch
Wed May 14, 2008 8:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HELP!
Replies: 20
Views: 3176

HELP!

... a customer", 1 ) ) oGetCodex:VarPut( AllTrim( ArCust->Code ) ) oGetCodex:Refresh() // repaints the GET return nil function DbChoice( cTitle, cSelect ) local oDlg, oBrw DEFINE DIALOG oDlg RESOURCE "DbChoice" TITLE cTitle if cSelect = 1 REDEFINE LISTBOX oBrw ; FIELDS ArCust->Code, ArCust->Name ...
by david lim
Wed May 14, 2008 7:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HELP!
Replies: 20
Views: 3176

DAVID, SYSCTRL2 He intentado reproducir el error que me indican, pero solo puedo hacerlo cuando el string del cSelect esta con errores o misspelling, vale decir, cuando un nombre de campo, tabla esta mal escrito, mayusculas/minusculas etc. Prueben recompilando, todo el ejemplo, ...
by Adolfo
Mon Apr 14, 2008 7:14 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADOBASE, Nueva clase para manipular RECORDSET de ADO
Replies: 55
Views: 14867

TADOBASE

... */ Además deberás modificar: #xcommand DEFINE ADOBASE <oDb> ; [ CONNECTION <oConnect> ] ; [ TABLE <cTable> ] ; [ SELECT <cSelect> ] ; => ; <oDb>:= TAdoBase():New( <(oConnect)>, <(cTable)>, <(cSelect)> ) por: #xcommand DEFINE ADOBASE <oDb> ...
by FiveWiDi
Mon Apr 14, 2008 6:59 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADOBASE, Nueva clase para manipular RECORDSET de ADO
Replies: 55
Views: 14867

Re: ADOBASE, Nueva clase para manipular RECORDSET de ADO

... aDatas := {}, aMethods := {} ? A ver que te parecen estas sencillas modificaciones: /* ******************** */ METHOD New( oConnect, cTable, cSelect ) CLASS TAdoBase ... ::nFields:=oRs:Fields:Count ::aBuffer := Array( ::nFields ) ::Load() ... return Self /* ******************** */ METHOD ...
by FiveWiDi
Fri Apr 11, 2008 8:20 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADOBASE, Nueva clase para manipular RECORDSET de ADO
Replies: 55
Views: 14867
Previous

Return to advanced search