$loadcols $colcount
Das Goravani
goravanis at gmail.com
Sat Apr 23 17:09:37 UTC 2022
Yes Martin, the way you typed it, you said rows in a row. There is only 1 always. A list can have multiple rows. The number of lines, rows, in a list is myList.$linecount
> On Apr 23, 2022, at 1:04 PM, Rocco Ventura <r.ventura at kunvi.it> wrote:
>
> Yes!
>
> For rows you can use
>
> $rowsfetched
>
> Bye
>
> Rocco
>
> ______________________________________
> Distinti saluti. Best regards.
>
> Rocco Dr. Ventura
> WMS Analist and Software Developer
>
> KUNVI srl - Experiences Holding - www.kunvi.it <http://www.kunvi.it>
> Email: r.ventura at kunvi.it - Mobile: +39 348 5186051
>
>
> Il giorno 23/04/22, 19:01 "omnisdev-en per conto di Scotte Meredith" <omnisdev-en-bounces at lists.omnis-dev.com per conto di spomacguy at gmail.com> ha scritto:
>
> Rows don't have a count. They are rows. They always and only are a single row. Lists can have a number of lines (each one essentially a row).
>
> But a row is a row. There is only one. Even if it is empty, there is a single row.
>
>
>
>> On Apr 23, 2022, at 3:20 AM, Martin Obongita via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
>>
>> Happy to you ALL,
>> I want to find out the number of rows in a variable of type row. I use the calculate command this way:
>> Calculate lRowCount as pTableClassColsRow.$rowcount
>>
>> Calculate lColsCount as pTableClassColsRow.$colcount
>> If I run these two lines, I get:The $rowcount returns NULL. The $colcount returns 0
>> If I context-check 'pTableClassColsRow', I see 8 rows of values in a single column.
>> I expected lRowCount and lColsCount values to contain 8, not null or 0.
>>
>>
>>
>>
>> On Wednesday, April 20, 2022, 11:59:39 PM GMT+3, Martin Obongita via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
>>
>> Hi Rudolf, the list is a $makelist from a schema table class.
>> Thank you @ALL for your helps.
>> Martin.
>>
>>
>> On Wednesday, April 20, 2022, 11:39:11 PM GMT+3, Rudolf Bargholz <rudolf at bargholz.ch> wrote:
>>
>> Hi Martin,
>>
>> How are you defining your list/row? If it is using $definefromsqlclass() then you will not be able to move columns if I remember correctly. Only lists defined using $define() allow this type of behavior.
>>
>> Regards
>>
>> Rudolf
>>
>> -----Ursprüngliche Nachricht-----
>> Von: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> Im Auftrag von Martin Obongita via omnisdev-en
>> Gesendet: Mittwoch, 20. April 2022 21:55
>> An: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
>> Cc: Martin Obongita <martin.obongita at yahoo.com>
>> Betreff: Re: $loadcols $colcount
>>
>> Hi Kelly,
>> I am trying to move the column named 'id' from the first line in a list to the last using:Do lColsList.$sendall($ref.$line.$assign(lColsList.$linecount),($sendallref.lColsName='id'))This code does not react when executed.What have I missed out?
>> Rgds, Martin.
>>
>>
>> On Wednesday, April 20, 2022, 12:56:14 AM GMT+3, Kelly Burgess <kellyb at montana.com> wrote:
>>
>> Hi Martin,
>>
>>> the grid only displays columns defined as kCharacter
>>
>> You're into JS forms now, out of my area - I don't have experience with datagrids on remote forms, so someone else will have to comment.
>>
>> Kelly
>> _____________________________________________________________
>> Manage your list subscriptions at https://lists.omnis-dev.com Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>>
>> _____________________________________________________________
>> Manage your list subscriptions at https://lists.omnis-dev.com Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>> _____________________________________________________________
>> Manage your list subscriptions at https://lists.omnis-dev.com
>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>>
>> _____________________________________________________________
>> Manage your list subscriptions at https://lists.omnis-dev.com
>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>>
>> _____________________________________________________________
>> Manage your list subscriptions at https://lists.omnis-dev.com
>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>
>
>
> Scotte Meredith
> spomacguy at gmail.com
> 509/998-0991
>
>
>
>
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>
>
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en
mailing list