Quantcast
Channel: FiveTech Software tech support forums
Viewing all articles
Browse latest Browse all 26212

FWHMARIADB Samples

$
0
0
[b:tw1kh850][size=150:tw1kh850]RowSet Method EditBaseRecord [/size:tw1kh850][/b:tw1kh850] When a table (or joined tables) contain many fields, programmers often consider it expedient to read and browse only limited number of columns. But for the purpose of editing/appending all or more fields need to be edited in the dialog. There may be more than one dialog and these dialogs can be quite complex. Rowset provides EditBaseRecord() method to handle such situations. With this method we can edit all or selected fields from the base table, though they are not included in the recordset. When saved, the edit / append automatically carried to the RowSet automatically. Syntax: oRs:EditBaseRecord( [cFieldsList], // defaults to all fields [lAppend], // defaults to edit current record [bEditDialog], // Programmer's own dialog. Optional [oBrw] ) // In case the rowset is being browsed. bEditDilog: { |oRec| MyEditDialog( oRec ) } The following is a simple demonstration of this method. The principle can be extended to multiple dialogs and more complex cases. [b:tw1kh850]maria15.prg[/b:tw1kh850] [code=fw:tw1kh850][/code:tw1kh850] [url=https://imageshack.com/i/poFdXmg8p:tw1kh850][img:tw1kh850]http://imagizer.imageshack.us/v2/xq90/924/FdXmg8.png[/img:tw1kh850][/url:tw1kh850] Download Link:

Viewing all articles
Browse latest Browse all 26212

Trending Articles