... se queda en in lopp y produce un error, lo mismo pasa cuando la columna es de tipo caracter y tipeo un numero. Probe comentando la linea obrw:bSeek para que tome el codeblock por defecto del xbrowse y alli solo ordena pero no acepta los valores que tipeo, es decir no funciona. La tabla tiene ...
... automatically updates the SAY. oBrw:cSeek is updated only after successful seek and refresh. If you want to know the value prior to seek, oBrw:bSeek := { |cSeek| MsgInfo( cSeek ), .... yourseekfunc( cSeek ) }
... OBJECT oBrw :oDbf := oDbf :bGoTop := {|| oBrw:oDbf:GoTop() } < other lines like this> :bSeek := { |c| oBrw:oDbf:Seek( c, , oBrw:lSeekWild ) } END Please insert this line after :bSeek := .... and END :bSaveData ...
... When created with COLUMNS clause, xbrowse automatically decides picture clause, correct index tag for sorting, bonpostedit codeblock, bseek for incremental seeks, etc. It is not necessary to specify oCol:cSortOrder, oCol:bOnPostEdit. It is also not necessary to keep changing default ...
... en mayúscula. Si el teclado no está en mayúsculas, con esta reforma también realiza la búsqueda incremental. Not necessary. XBrowse's built-in bSeek takes care of this. This is a part of built-in bSeek lFound := DbSeek( Upper( cExpr ) ) .or. ...
... * from custm1 order by custid"+if(corder=="A"," desc","") ::odb1:refresh() ::obrow:refresh() ::obrow:bseek:={|v|::odb1:SEEK(v,,{||::odb1:custid})} ::obrow:SEEK(id1) case nAt==3 id1:=::odb1:custm ::odb1:cQuery:="select * from custm1 order by custm"+if(corder=="A"," ...
... Delete. In particular demonstrates the simplest way of using AddNew(), Update() and GetRows() methods of ADO * XBrowse: In the method SetRDD(), bSeek codeblock is created only if the programmer did not already specified bSeek codeblock before calling SetRdd. This is to provide backward compatibility ...
Thanks for your recommendation to use SetRDD before assigning DATA or codeblocks, that solves the problem due after executing SetRDD I can change the codeblocks, and Initiate will not run again SetRdd. That is how XBrowse is intended to be used. Any further developments assume xbrowse is used the w...
Hi, many thanks for your answer. Thanks for your recommendation to use SetRDD before assigning DATA or codeblocks, that solves the problem due after executing SetRDD I can change the codeblocks, and Initiate will not run again SetRdd. After reviewing the xBrowse class, another alternative is to defi...
... the program, XBrowse at the time of initializing by default calls SetRdd(), but this is not recommended. As you suggested, we are now creating ::bSeek in SetRDD method as DEFAULT (from version 13.06) to take care of above situations. Still our advice is to use command syntax to create xbrowse ...
... xBrowse, y allí encontre el problema. El problema es que en mi funciíon hago uso de una busqueda incremental personalizada, que asigo al DATA bSeek, pero este DATA se sobreescribe siempre en el metodo SetRdd, que se llama siempre desde el metodo initiate. Antes habia un if, que hoy aparece ...