How to set the table for a tDbfBrowse?
Publicado: Vie Jul 19, 2019 12:15 am
Hi,
Can someone forward instructions about how to simply attach a table to tDBFBrowse or tCDXDataSource or tDBFBrowse, or whatever we're supposed to use?
I've been looking at the c:\Xailer6\Samples\Browses\BrwEdit sample for hours, and can't figure out how they connect the actual table to the Browse component.
There's an aCols array in the tDBFBrowse that contains the fields, but how does it get populated?
I tried setting the cName in an the TDbfDataset, setting the cConnect property in TCdxDataSource, and setting oDataSource in TDbfDataSet to the name of the TCdxDataSource, and all sorts of other things. But I can't figure out how to set these, and then connect it to a tDbfBrowse.
And yes, I've read the Help, and saw there's a SetDBF method. But I want to point to the table directly in the IDE, in a separate project.
Is there some step by step instructions about how to do this?
Can someone forward instructions about how to simply attach a table to tDBFBrowse or tCDXDataSource or tDBFBrowse, or whatever we're supposed to use?
I've been looking at the c:\Xailer6\Samples\Browses\BrwEdit sample for hours, and can't figure out how they connect the actual table to the Browse component.
There's an aCols array in the tDBFBrowse that contains the fields, but how does it get populated?
I tried setting the cName in an the TDbfDataset, setting the cConnect property in TCdxDataSource, and setting oDataSource in TDbfDataSet to the name of the TCdxDataSource, and all sorts of other things. But I can't figure out how to set these, and then connect it to a tDbfBrowse.
And yes, I've read the Help, and saw there's a SetDBF method. But I want to point to the table directly in the IDE, in a separate project.
Is there some step by step instructions about how to do this?