At 11:55 AM 12/23/2008, Alex Sisk wrote:
I have come across what I believe is a bug in the software:
With many variables already defined, I am trying to choose a dynamic
caption in the Form Designer. The problem - the dropdown menu used
to choose the variable for the dynamic caption contains nothing.
(This field really shouldn't be a drop-down menu anyway - who says
you already have your variables defined while you're still designing
a form? It would be much more useful as a standard text field.)
Thanks for any pointers!
At 12:37 PM 12/23/2008, Adriana Montano wrote:
Alex,
Most of the time, "bugs" end up being our human error, not a fault
of the software :-)
Have you tried this?:
In the Menu bar, go to Variables - Add/Edit Variables and add your
non-global variable there. Then, it should show up as an option in
the Dynamic Caption.
At 02:32 PM 12/23/2008, Mike Byerley wrote:
This method is chosen to avert the posibility of user error (how
could that possibly happen?).
The variable "must" be defined to appear in the list of choices
even can type in a variable name without defining it first, it is
bad practice, hence the aforementioned procedure should be adhered
to.
Alex,
My lack of knowledge and understanding of any product shall NOT
constitute a bug in any software.
In addition to Adriana Montano and Mike Byerley's suggestions, take
a look at the "SalesTransactions" form included with RRBYW14 to
understand the actual use of Form Dynamic Caption using a variable
that is defined as expression.
To further understand the Dynamic Form Caption, you may also use
the following PROPERTY command, if you wish.
Syntax: PROPERTY RBASE_FORM CAPTION value
-- Example: (Using RECORDCOUNT and RECNO as Dynamic Form Caption)
-- Used as On Row Entry EEP
-- Database: RRBYW14
-- Table: Customer
-- Form Name: Customer
-- Start
CLEAR VAR vRecordCount, vRecNo, vRecInfo
SET VAR vRecordCount TEXT = NULL
SET VAR vRecNo TEXT = NULL
SET VAR vRecInfo TEXT = NULL
GETPROPERTY TABLE 'Customer->RECORDCOUNT' vRecordCount
GETPROPERTY TABLE 'Customer->RECNO' vRecNo
SET VAR vRecInfo = (' Record:'&.vRecNo&'of'&.vRecordCount)
PROPERTY RBASE_FORM CAPTION .vRecInfo
CLEAR VAR vRecordCount, vRecNo, vRecInfo
RETURN
-- End
Have fun!
Very Best R:egards,
Razzak.
--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]
(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body,
place any
text to search for.
================================================