Search found 10 matches: odbcli

Return to advanced search

Re: FWH: MySql/MariaDB: RowSet object

... show 4 fields out of 20+, in tDolphin, I have an extra dialog, a big one with lot of validations items, after that I save modifications and do: oDbCli:LoadQuery(.F.) oBrw:DrawLine() and only the current line in xBrowse is altered and updated. When appending new records, I do the same, call another ...
by Adolfo
Mon Apr 24, 2017 2:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: MySql/MariaDB: RowSet object
Replies: 51
Views: 19546

... OK --------------------------- Haciendo un ejemplo simple con mysql en local me funciona, pero cuando trato de editar una variable odbCli:miVariable se bloquea todo el programa. Alguna idea? saludos
by pymsoft
Thu Jul 24, 2008 12:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADOBASE, ultima version muy mejorada.
Replies: 27
Views: 6208

... 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 oDbCli:RAZON oDbCli:DIRECCION y los metodos correspondientes oDbCli:Append() ...
by Adolfo
Fri Jun 13, 2008 12:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADOBASE, ultima version muy mejorada.
Replies: 27
Views: 6208

ADOBASE, Last version, very improved

... only 2 of , for instance, 40 fields to gain access to a table, but if you need to edit 1 record, row, you now can call it like oRegCli:=tAdoReg(oDbCli ) , now oRegCli is a complete new recordset with only 1 row, which corresponds to the actual row of the main recordset, you can see menu.prg, ...
by Adolfo
Mon Jun 09, 2008 2:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADOBASE, Last version, very improved
Replies: 0
Views: 597

ADOBASE, ultima version muy mejorada.

... solo 2 campos de ,por ejemplo, 40 para optimizar la consulta, pero si necesitas editar ese registro, fila ahora puedes hacer esto oRegCli:=tAdReg(oDbCLi), ahora oRegCli es un recordset de solo una fila, que corresponde a la fila original del recordset padre, pueden ver menu.prg la funcion clientes ...
by Adolfo
Mon Jun 09, 2008 2:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADOBASE, ultima version muy mejorada.
Replies: 27
Views: 6208

Éric,

Cierto, en tu ejemplo no usas la Clase TDataBase.

El problema de tu código ocurre porque el combobox al tomar el foco VARIA el valor de oDBCli:FIELD:CLI_TIPPES ANTES de que lo asignes
by Antonio Linares
Wed Feb 28, 2007 9:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug Redefine ComboBox + oDB:FIELD - URGENT
Replies: 14
Views: 4657

... faz sentido pra mim. E eu não uso TDataBase, pois tenho uma própria ( TDBTable() ) Comentei 3 síntaxes que funciona corretamente, assim: ReDefine oDBCli:CLI_TIPPES, em somente um caso, não quer funcionar... ou seja, ao executar PosCBX(...), no On Init, para acertar o elemento, já chega errado ...
by ericmagaldi
Wed Feb 28, 2007 8:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug Redefine ComboBox + oDB:FIELD - URGENT
Replies: 14
Views: 4657

... is defined in class TDataBase: DATA lTenChars AS LOGICAL INIT .t. When Clipper assigns an object DATA, it places an underscore before the name: oDBCli:CLI_TIPPES := .F. => oDBCli:_CLI_TIPPES( .F. ) but _CLI_TIPPES length is 11, so Class TDataBase checks if lTenChars is .F. and it not, then ...
by Antonio Linares
Wed Feb 28, 2007 8:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug Redefine ComboBox + oDB:FIELD - URGENT
Replies: 14
Views: 4657

Éric, It is not a bug. Please set: oDBCli:lTenChars := .F. // Avoid Clipper restriction compatibility as CLI_TIPPES is 10 chars length Não resolveu!!! e a minha classe não terá "lTenChars" CLI_TIPPES é de 1 byte, mas se transformará conforme ...
by ericmagaldi
Wed Feb 28, 2007 8:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug Redefine ComboBox + oDB:FIELD - URGENT
Replies: 14
Views: 4657

Éric,

It is not a bug. Please set:

oDBCli:lTenChars := .F. // Avoid Clipper restriction compatibility

as CLI_TIPPES is 10 chars length
by Antonio Linares
Wed Feb 28, 2007 8:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug Redefine ComboBox + oDB:FIELD - URGENT
Replies: 14
Views: 4657

Return to advanced search