Sorry, I didn't check the DBLabel with Object Inspector first.  There is no 
CAPTION or VALUE or TEXTVALUE property exposed for that object, so 
GETPROPERTY won't get a value.

You can put a report variable that evaluates at the detail level and test 
for that and then set the VISIBLE property based on that.

varname = columnName in tableName where columnName = columName

then in the OnAfterGenerate for the DataBand:

if VarName = SomeValue then
  Property <ComPonentID> Visible 'FALSE'
Property <ComPonentID> Visible 'TRUE'
endif

----- Original Message ----- 
From: <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Saturday, January 05, 2013 10:28 AM
Subject: [RBASE-L] - Re: Capturing value of DB Label in a report


: Hello Mike
: Also in this case no value is captured for DBLabel in detail band
: Daniele
: B.M.B. Informatica
:
: -----Messaggio originale----- 
: From: Mike Byerley
: Sent: Saturday, January 05, 2013 4:14 PM
: To: RBASE-L Mailing List
: Subject: [RBASE-L] - Re: Capturing value of DB Label in a report
:
: For a DBLabel :
:
: GETPROPERTY <componentId> CAPTION varname
:
:
: ----- Original Message ----- 
: From: <[email protected]>
: To: "RBASE-L Mailing List" <[email protected]>
: Sent: Saturday, January 05, 2013 6:21 AM
: Subject: [RBASE-L] - Re: Capturing value of DB Label in a report
:
:
: Hello Karen
: Of course I tried the technique suggested by Razzak in the previous email:
: (1/3/2013 - using expression DBCalc in Report),
: but the fact is that GETPROPERTY <componentId> VALUE varname
: NOT return any value for the object  DBLabel in detail report band.
: (GETPROPERTY works for DBCalc but not works for DBLabel in detail band).
: The technique suggested by Razzak works perfectly. (Thanks): Razzak email:
: (1/4/2013 - Capturing value of DBLabel in a report).
: Very Best regards
:
: Daniele
: B.M.B. Informatica
:
:
: From: Karen Tellef
: Sent: Friday, January 04, 2013 6:02 PM
: To: RBASE-L Mailing List
: Subject: [RBASE-L] - Re: Capturing value of DB Label in a report
:
: I think Razzak already answered a previous question you had with an 
example
: of assigning a ComponentID to a report field and using GETPROPERTY to get
: the value.    You can use that same procedure to do this
:
: Karen
:
:
:
:
: -----Original Message-----
: From: daniele <[email protected]>
: To: RBASE-L Mailing List <[email protected]>
: Sent: Fri, Jan 4, 2013 10:49 am
: Subject: [RBASE-L] - Capturing value of DB Label in a report
:
:
: Hello
: RBASE 9.5 (32)
: is it possible to capture the value of a DB Label(1) (in a Report in 
detail
: band) and based on the value captured define a property
: as PROPERTY <component_id> VISIBLE OFF (or anything else) for another DB
: Label(2) ?
: I need to consider the DB Label(2) for the sum in a DBCalc in the band of
: break footer
: but in particular occasion, depending on DB Label(1),  not to print DB
: Label(2)
: Any help will be greatly appreciated
: TIA
:
: Daniele
: B.M.B. Informatica
:
: --- 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.
: ================================================
:
: 


Reply via email to