list row properties
Phil (OmnisList)
phil at pgpotter.co.uk
Fri Apr 22 14:19:35 UTC 2022
Hi Martin,
A row will always have 1 line, regardless, so the answer will always be
true.
Better to check the contents of a known field, ie
isclear(iSelectedDataRow.id)
I don't use the CRB, I would just use the row directly, so cannot
comment on the second part of your query.
But maybe its just the old load from list command?
I presume that is what you mean by load data from the row...
and what is a row named 'id'?
or do you mean column 'id' within the row iSelectedDataRow?
regards
Phil Potter
Based in Chester in the UK.
On 22/04/2022 14:55, Martin Obongita via omnisdev-en wrote:
> Hi, $Listers,
> I am trying to work with a row to edit data.I select a line in a list and then I assign that selected line to a row.I then check if the row has values in it. I confirm that a line has been selected, using:
>
> If iSelectedDataRow.$linecount
>
> For some reason, the above IF statement returns a kTrue flag even when the list row is empty.How do I check if a ROW is not empty or #null?
>
> I know how to get values from a list, using:
> Do iDataList.id
> But, how do I load data from a list ROW variable?The reason I am asking, I am passing a parameter:
>
> Do iDataListObj.$loadDataRowChildDataList(iDataList,iSelectedDataRow.[iTableClassPrefix]id,iChildTableClassRef) Returns iDataRowChildDataList
>
> But the called method is receiving a #null value for the row named 'id'
> As always, all your KIND helps are appreciated.
> Martin Obongita.
>
>
More information about the omnisdev-en
mailing list