Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

   There are situations in which the system automatically provides to refresh
   the controls on screen. For instance, data displayed by means of a
   Lookup control. In all other situations, the technique described in
   the previous paragraph must be used.

   But there is an exception. If the data (fields) displayed comes from a
   file belonging to the relational branch starting from the master file,
   these will be refreshed automatically on screen by the system.

   This concept is explained by means of an example:

   A List box control allows to manage data coming from a file. It can be
   necessary to display data associated to the List box that is or cannot be
   displayed inside of it, or that is to be put in evidence.

   For instance, in a Marketing management, for each company (master file)
   displayed, a list of contact persons (file related 1:N) is listed in a
   List box. General notes on the persons are kept in a MEMO field, that
   cannot be contained in the List box. It is therefore necessary to put the
   MEMO field on the outside. The contents will be relative to the person
   currently being selected.

   In order to implement the described functionality, it is necessary that
   the Text box control (MEMO), which is not contained in the List box, still
   belongs to the same file associated to the List box.

   Let's consider a Company file operating on the Form, and a Persons
   file being associated to the List box. Therefore, the notes of the person
   (Persons->Memo) must be put on the Form.

   After having created the Form and the List box, and having loaded the
   fields, a new Text box control must be created outside the area occupied
   by the List box. This is done by pressing Alt-1 in whatever location
   on the base Form. On the files list, press Ctrl-Enter, that allows to
   select the other files that the data entry can handle. From the list, the
   file of the List box (Persons) must be selected, and from the fields
   list, the notes' field (Memo).

   Because of the fact that data displayed in the controls come from the same
   relational branch (in this case from the same file), the List box and the
   Text box are automatically linked together. The display is automatically
   refreshed, as soon as the operator moves the cursor highlight in the List
   box.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson