... switch oBrw:cAlias at runtime any number of times, provided 1) All DBFs should have the same structure and indexes in respect of the fields being browsed. (Fields and indexes not used by browse can be different) 2) Use recommended command syntax to create xbrowse including COLUMNS clause 3) Never ...
... Mainly you need to reduce browses to only a subset of a table which generally can be done with a search narrowing down the number of records to be browsed. Then as Rick pointed out, changed records in the set must be updated immediately so other users can see the updates. James
You need to specify oCol:bEditBlock := { |nRow,nCol,oCol,nKey| MyEditFunc( nRow, nCol, oCol, nKey )
In this function you can browse the other table. If selected return the value to be written in the browsed table. If not selected you should return NIL
Thank you for your reply, but maybe my question was not clear at all: I need to know if XBROWSE() have any data or parameter to allow for the display of a subset of records (maybe based on key value). Thank you.
No You need to set your own scopes or filters on the data to be browsed.
... translate to understand your posting. Did you say you are using one static variable oRs and use oRs in the program to refer to the recordset being browsed? If so you can do (a) Add one line in this code ELSEIF nKey == 65 // usuario presiono A oNRS := GetRecSet( "'2013-08-27'", ...
... Column's dividerstyle can not be wider than the browse's coldividerstyle. XBROWSER: * Enhancement: XBrowser(): When a an unindexed DBFCDX table is browsed with AUTOSORT clause and if the table is small, a temporary index is creaed to make autosort and incremental seeks work. * Enhancement: FWH ...
Hi. Seems I found a bug in wbrowse when moving the file pointer. If I change the current record of the browsed file and call a refresh ,the wbrowse goes to new record position as expected. Until a mouse click is used to change the current wbrowse position, in some circumstances. ...
... it can be done on large tables. In one of my earlier applications the customer table with 700,000 customers with large number of columns was being browsed very comfortably with xbrowse over wide area network. ( Those days the speeds were much less over WAN ). This particular browse was very feature ...
Marco, I did the test and it works indeed. But, fields with the same name in a DBF don't have any sence. I browsed the result of your test. If I change the data in one field "SAMENAME", all the fields "SAMENAME" are changed. So in fact there is only one field ...
... Here the size of dialog size was not known initially and the dialog is finally resized on the basis of the size of the browsed data. The buttons and controls are finally moved to the appropriate relative positions. The logic in this function may be helpful to you.
... otherwise. Use the normal syntax for creating xbrowse for the DBF and add the clause ROWS aRecArray. Only the record numbers in the aRecArray are browsed. Example: @ 0,0 XBROWSE oBrw OF oWnd AUTCOLS ALIAS "CUSTOMER" ROWS { 22, 44, 66 }
... * Fix: XBrowse: Bitmaps on Headers were not correctly centered vertically. Now fixed. * Fix: XBrowse: Fixed runtime error when a blank array is browsed and a column number specified is higher than the total number of columns defined in the xbrowse. * Enhancement: XBrowse: Improvement to method ...
... reliable way to know (i) number of rows, (ii) serial number of the row and (iii) to go to a row with a given serial number in the subset being browsed.
... * Enhancement: Class TDbOdbc and TDbOdbcDirect are made compatible with XBrowse. These objects can be browsed like any other object like TDataBase, etc. * New: Class TMeterEx, similar to Class TMeter and TProgress but many more possibilities. Please ...