How can I to Switch Ado / DBF insdie Xbrowse
I have oRs Object from Adodb and a MYDBF.DBF file.
oRs and MYDBF.DBF have the same columns (6 columns with the same type column)
before DEFINE DIALOG I have oRs Object and MYDBF.DBF file opened.
DIALOG starts with oRs Adodb Object
- Code: Select all Expand view
DEFINE DIALOG oDlg
..
@63, 10 XBROWSE oBrw RECORDSET oRs
@ 320,190 BTNBMP oBtn1 SIZE 50,20 OF oDlg ;
ACTION ( here I have to change oBrw)
Inside Action oBtn1 I have to switch oBrw from oRs to MYDBF.DBF file and vice versa
how can I do it ?
thank you