At 02:26 PM 5/8/2005, Michael Moser wrote:
As far as I can tell, in 7.x all buttons are active in all
tables so buttons like "Add Record" become problematic. I
have been unable to figure out any acceptable eep commands
or normal command sequence strategies so that the record is
added to the correct table regardless of the active table
when the button is activated.
Michael,
Have you looked into the "DB Navigator" Control, which includes
the following options:
. First
. Previous
. Next
. Last
. Insert
. Delete
. Edit
. Save
. Cancel
. Fresh
DB Navigator control (part of Database Controls) associates all
actions with the specified table. You can customize the caption
and viewable options of DB Navigator using the DB Navigator
Property options.
FYI, all form controls in R:BASE 7.1, 7.5 and V-8 are grouped
by their class and related functionality, such as:
. Standard Controls
. Database Controls
. Variable Controls
. Additional Controls
. Internet Controls
. File System Controls
. Legacy Controls
Notice that only "Database Controls" belong to specified table
or view associated with the form. You won't see any button
control (except DB Navigator) related to database controls.
All button controls, such as:
. Push Button (Standard Controls)
. Bit Button (Additional Controls)
. Office Button (Additional Controls)
. Speed Button (Additional Controls)
. Shape Button (Additional Controls)
. Enhanced Speed Button (Additional Controls)
can be used as "Universal" buttons. You could easily control
the functionality of these buttons using the PROPERTY command.
Take a look at the functionality of these buttons, often
used as "Custom Navigator Bar", in RRBYW2 - RRBYW12 sample
applications.
Hope that explains and helps you understand the features.
Very Best R:egards,
Razzak.
P.S.
Did you know that you can dynamically change EEPs and EEP
Properties in Forms using the PROPERTY command?
Here's how:
From The Edge: http://www.razzak.com/fte
Topic: Dynamically Changing EEPs and EEP Properties in
Forms in R:BASE 7.1 for Windows
Imagine the possibilities!