Database Record DisplayUsing the database container a single record is displayed. The dbcontainer is always remote controlled. Usually a dbdisplay or a dbscroller shows a link for each database record to display the details. Clicking on that link will make the dbcontainer display the record. The dbcontainer can sit on the same or another page. A dbcontainer can be placed on a page as any other component. In a second step fields can be added, either manually by using display field components or automatically by using the fields link and selecting the fields to be shown. RADpage gives a name to the component. This so called 'oid' is usually the word dbcontainer followed by a sequence number. You can however choose your own name here. To add link into a dbdisplay use a dbselectlink component (select the dbdisplay or dbselectlink first then click on dbselectlink). dbselectlink needs the URL of the page with the dbcontainer as first parameter. Second parameter, action, must be display. Other actions are used for other components. Third parameter, the receiver, is the oid of the dbcontainer. Finally there is the key parameter. It must denote a field name or a comma separated list of field names of the database relation. The fields must unambiguously identify a database record. Besides dbselectlink there are other components that can send messages to remote control a dbcontainer see Messages. ReferenceComponent:dbcontainerDetails
Component:dbselectlinkDetails
Selected blog articles : 3D Objects on HTML pages, CSS Transition Visibility, and CSS Transition Display. © 1996-2025 H.E.I. All Rights Reserved. |
![]() |