With a current Trunk you can use:
to check for the whole row is not set in nm content
!@$row
to check for a certain value is empty/not set:
!@${row}[something]
or
!$row_cont[something]
All of this requires
http://www.egroupware.org/viewvc/egroupware?view=rev&revision=27530
Ralf
Nathan Gray schrieb:
I can’t seem to get a repeating row to disable if empty.
The row has several columns, the one I’m using is ${row}
[stock_category_id]. I want to disable the row if stock_category_id
is missing.
I’ve tried every variant I can think of, some of these should work
(SVN r27530)
WITH stock_category_id:
check_disabled: ‘@row_cont[stock_category_id]’ = ‘’ = False
check_disabled: ‘${row}[stock_category_id]’ = ‘1[stock_category_id]’ =
True
check_disabled: ‘${row_cont[stock_category_id]}’ = ‘’ = False
check_disabled: ‘@row[stock_category_id]’ = ‘’ = False
WITHOUT stock_category_id (row is missing):
check_disabled: ‘@row[stock_category_id]’ = ‘’ = False
check_disabled: ‘${row}[stock_category_id]’ = ‘1[stock_category_id]’ =
True
check_disabled: ‘${row_cont[stock_category_id]}’ = ‘’ = False
check_disabled: ‘@row[stock_category_id]’ = ‘’ = False
I would add a ! to the front of these,after I get things working.
I looked in check_disabled, $content =
Array
(
[.c] => 0
[.col] => @
[.row] => 0
)
What is the magic row disabled parameter?
Nathan Gray
nathan at goarctic dot com
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what’s new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
–
Ralf Becker
Director Software Development
Stylite GmbH
[open style of IT]
Morschheimer Strasse 15
67292 Kirchheimbolanden
fon +49 (0) 6352 70629-0
fax +49 (0) 6352 70629-30
mailto: rb@stylite.de
www.stylite.de
www.egroupware.org
Geschäftsführer Andre Keller, Gudrun Müller,
Nigel Vickers und Ralf Becker
Registergericht Kaiserslautern HRB 30575
Umsatzsteuer-Id / VAT-Id: DE214280951
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what’s new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers