At 10:17 AM 11/10/2005, Sharon Lima wrote:
I have a DB Navigator Object on an EDIT form that makes
use of options, First, Previous, Next, Last.
The request is that if only ONE record is recalled, that
NONE of those options will be available (lit up) on the
Navigator Bar.
Her thinking is that it seems to indicate that there is
another record (in the search criteria) if the Next &
Last options are available.
She thought, from the way it worked, that there were two
identical records that were being accessed when alternating
between First or Previous and Next or Last.
This seems trivial to me but I promised I would find out.
Is there a way of having all options grayed out if there
is only one record meeting the search criteria of the
recall?
Sharon,
In your particular situation, you will need to define your
own "My Own DB Navigator" to control the look and feel of
each button based on the record count prior to displaying
the record(s) in forms, using the PROPERTY command as
"On After Start EEP".
Take a look at the following sample forms in RBG7, RBG75
and RBG8 sample applications:
Databases:
. RRBYW8 (Running R:BASE Your Way! Part 8)
. RRBYW9 (Running R:BASE Your Way! Part 9)
. RRBYW10 (Running R:BASE Your Way! Part 10)
. RRBYW12 (Running R:BASE Your Way! Part 12)
Associated Forms:
. Contacts
. CustContAndSales
. CustomerContacts
. Customers
. Employees
. PaymentTerms
. SalesTransactions
Enjoy and make sure to have fun!
Very Best R:egards,
Razzak.