Search found 36 matches: setmysql

Return to advanced search

Re: xbrowse command not working properly -- MR. RAO

...    @ 0,0 XBROWSE oBrw OF oWnd ;      DATASOURCE oTb ;      COLUMS "Codigo", "Nombre" ;      LINES CELL // AUTOSORT     // oBrw:SetMySql( oTb, .F. )    // USAR .F. // remove this     oBrw:CreateFromCode()  Hello Mr. Rao, Changes on XBrowse.prg were made. I got this error ...
by Compuin
Wed Feb 23, 2022 8:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse command not working properly -- MR. RAO
Replies: 21
Views: 1384

Refreshing xBrowse Problem

Mr Rao. I have a xBrowse which I need to update with a different FwhMysql rowset. When I created it I do oDbDat:=oSvr:Rowset(xSelect) oBrow:setMysql(oDbDat,.T.,.T.) Later on I need to change the select (same fields, but different data), then I do. oDbNew:=oSvr:Rowset(NewSelect) oDbDat:=oDbNew ...
by Adolfo
Tue May 08, 2018 3:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Refreshing xBrowse Problem
Replies: 2
Views: 591

Re: xbrowse y refresh()

... //refrescaba el Query por cualquier motivo un cambio en consulta etc oBrw:Refresh() oBrw:SetFocus() //opcional Actualmente la solucioné asi oBrw:SetMysql( oRcs ) oBrw:Refresh() oBrw:SetFocus() //opcional
by luisduque
Sat Jul 23, 2016 5:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowse y refresh()
Replies: 6
Views: 990

Re: How to do chat and file transfer software using fivewin ?

... by dateline DESC") DEFINE DIALOG odlg RESOURCE "msg1" TITLE "即时通信系统" FONT ofont14 obrow := TXBrowse():New( odlg ) obrow:SetMySQL(@odb1) obrow:nMarqueeStyle:=4 obrow:bSkip:=obrow:bSkipper oCol := obrow:AddCol() oCol:bStrData := {||odb1:sender} oCol:cHeader := "发送人" ...
by ShumingWang
Sat Aug 23, 2014 4:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to do chat and file transfer software using fivewin ?
Replies: 4
Views: 1275

Re: xBrowse blcklicked

... code of the function TraPre ()? Meanwhile, I leave these parts of code I use. I hope you serve as an example. oLbx := TXBrowse():New( oDlg ) oLbx:SetMySql(oCatalogo,.f.) oCol = oLbx:AddCol() oCol:bEditValue = { || oCatalogo:Codicont } oCol:cHeader = "Codigo Contable" oCol:nWidth = 164 ...
by FranciscoA
Mon May 13, 2013 11:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse blcklicked
Replies: 8
Views: 1858

Re: XBROWSE fiirst steps

obrow := TXBrowse():New( odlg ) obrow:SetMySQL(@odb2) obrow:bKeyDown := {|nKey|sto0120(nkey,odlg,otabs),if(ledit,if(nKey==VK_DELETE .and. LEN(ALLTRIM(odb1:stockid))>0, (if(msgyesno("删除这行吗?","请选择"),(sto0103(odb2:qty,0),odb2:DELETE(),obrow:Refresh()),)),if(nKey==VK_INSERT ...
by ShumingWang
Thu Apr 18, 2013 5:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE fiirst steps
Replies: 6
Views: 2073

Re: xBrowse + MySql and column sequence ...

1. @ r,c XBROWSE .... command itself calls oBrw:SetMySql(oQry). Please remove the specific call to SetMySql in the next line and try. Have you tried this? May I know the result? I have received the xbrowse.prg. I shall refer to that whenever necessary. ...
by Rimantas
Sat Mar 02, 2013 7:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse + MySql and column sequence ...
Replies: 7
Views: 2002

Re: xBrowse + MySql and column sequence ...

1. @ r,c XBROWSE .... command itself calls oBrw:SetMySql(oQry). Please remove the specific call to SetMySql in the next line and try.

Have you tried this? May I know the result?

I have received the xbrowse.prg. I shall refer to that whenever necessary.
by nageswaragunupudi
Sat Mar 02, 2013 5:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse + MySql and column sequence ...
Replies: 7
Views: 2002

Re: xBrowse + MySql and column sequence ...

1. @ r,c XBROWSE .... command itself calls oBrw:SetMySql(oQry). Please remove the specific call to SetMySql in the next line and try. 2. I do not have the version 11.11 with me. In the absence of the actual source code, I may not be able to advise ...
by nageswaragunupudi
Fri Mar 01, 2013 6:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse + MySql and column sequence ...
Replies: 7
Views: 2002

xBrowse + MySql and column sequence ...

... := oServ:Query( cSql ) Now begin to describe xBrowse : aFld := aDgr[ 2 ] // fields in needfuls sequence ... oBrw := TXBrowse():New( oWnd ) oBrw:SetMySQL( @oQry ) for u := 1 to len( aFld ) oCol := oBrw:AddCol() oCol:bStrData := { ||oQry:aFld[ u ] } ... next Here I stoped . I didn't tried this ...
by Rimantas
Thu Feb 28, 2013 6:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse + MySql and column sequence ...
Replies: 7
Views: 2002

Re: busqueda incremental

... @ 10,10 SAY oSay PROMPT cBusca OF oDlg SIZE 200,12 PIXEL COLOR CLR_YELLOW,CLR_GRAY BORDER @ 30,10 XBROWSE oBrw ; SIZE 200,200 PIXEL ; OF oDlg oBrw:SetMySql( oQry, .F. ) oBrw:bKeyDown := { |nKey| IF( nKey == VK_RETURN,(lOk:=.T.,oDlg:End()),; IF( nKey<>13, ( SeekProd(nKey,@oQry,LOWER(cTmp),"nombre",oBrw,@cBusca,,,@lKeyboard),oSay:Refresh() ...
by Francisco Horta
Sat Feb 09, 2013 6:58 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: busqueda incremental
Replies: 6
Views: 1609

Re: TDOLPHIN + xBrowse como alterar QUERY

... "cdiario" LEFT 2007 ACTION ( oTbTemp:End(), oTbTemp := oServer:Query("SELECT * FROM comprobd ORDER BY numdoc ;"), oLbx:SetMySql(oTbTemp,.f.), oTbTemp:Gotop(), oTbTemp:Refresh(), oLbx:Refresh(), cDocum := 'CD', oDocu:Refresh() ) Saludos.
by FranciscoA
Tue May 29, 2012 8:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TDOLPHIN + xBrowse como alterar QUERY
Replies: 4
Views: 961

Re: Ejemplo xBrowse-MySql?

... * FROM catalogo WHERE codicont LIKE '"+substr(cVar,1,len(NIV1))+"%' ORDER BY codicont;") ,; oLbx:SetMySql(oCatalogo,.f.),; oCatalogo:Refresh(),; oLbx:Refresh() ) Lo del catalogo lo dejo momentáneamente filtrado por grupos. Puse un button por si ...
by FranciscoA
Mon Apr 02, 2012 6:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ejemplo xBrowse-MySql?
Replies: 7
Views: 1974

Re: Ejemplo xBrowse-MySql?

...     oCatalogo:Goto(nRecNo)        MsgInfo("Registro no fue encontrado","Informacion" )     endif endif   oLbx:SetMySql(oCatalogo,.f.)   oCatalogo:Refresh()    oLbx:Refresh()    oLbx:SetFocus()return nil  //pero filtra por el registro ...
by FranciscoA
Mon Apr 02, 2012 3:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ejemplo xBrowse-MySql?
Replies: 7
Views: 1974
Next

Return to advanced search