Hi,
As I work, I need to subordinate one xbrowser to another. Is it possible to do this ?
Hi,
As I work, I need to subordinate one xbrowser to another. Is it possible to do this ?
Please clarify.
You mean linked browses?
Perhaps subordinate browses is a style of linked browse where browse number one shows parents and browse number two shows childs each parent
SetParent(oBrw2:hWnd, oBrw1:hWnd)
function ParentChildBrw
field CODE
local oDlg, oChild
USE CUSTOMER NEW SHARED VIA "DBFCDX"
SET ORDER TO TAG STATE
USE STATES NEW SHARED VIA "DBFCDX"
SET RELATION TO CODE INTO CUSTOMER SCOPED
GO TOP
oChild := XBROWSER "CUSTOMER" COLUMNS "STATE","CITY","SALARY" NOMODAL
XBROWSER "STATES" SETUP ( oBrw:bChange := { || oChild:Refresh() } )
return nilYeah, it looks like it.