Platform
Learn
Community
Support
Sign up
or
Log in
Profile
messages
Messages
logout
Logout
Platform
Home
Downloads
IPP
Licensing
Project Sizing
Beta
Learn
Training
Documentation
Evaluation Guide
Community
Jobs
Home
Forums
Forge
Ideas
Badges
Members
Support
Partner Guide
Resources Library
Opportunities
Account Management
Pre Sales Demos
Sign up
or
Log in
Home
Jobs
Forums
Forge
Ideas
Members
Badges
Dear ,
What would improve your OutSystems Community experience? Let us know by taking this 2-minute survey.
Pick up the survey
Community
›
Forums
›
Technology & Integration
Erro ao recuperar o CurrentRowNumber de uma lista de registros (list of records)
array,list,record,list
CurrentRowNumber
array,list,record,list
CurrentRowNumber
New Post
New Post
Maria da Graça
Posted on 2016-07-06
Maria da Graça
Rank: #34435
Posted on 2016-07-06
Preciso recuperar o
CurrentRowNumber
de uma lista de registros para identificar unicamente um registro de uma lista e carregá-lo no formulário (para editar os dados).
Porém, o
CurrentRowNumber
retorna o valor 0 para qualquer registro selecionado, não permitindo o carregamento dos dados no formulário.
Manish Jawla
Posted on 2016-07-06
Manish Jawla
Rank: #206
Posted on 2016-07-06
Solution
Hi Maria,
Can you provide the sample oml file?
Thanks,
Manish Jawla
Solution
André Siébra
Posted on 2016-07-06
André Siébra
Rank: #85
Posted on 2016-07-06
Solution
Hi Maria,
First of all, we would appreciate if you could ask in English, given the majority of the people in the forums don't speak Portuguese. Also English is the language of this community.
The CurrentRowNumber is a runtime property of the list that contains the current index of the item that is being iterated. That said, if you are not iterating the list (in a foreach for example) you will get value 0 from this property. In addition, if you want to get a identifier of a element in the list, you should not use CurrentRowNumber property, since it is dinamic, and it is not identifies a register. Instead, you could use the Id attribute of the element (if it has one).
Hope it helps!
André Siébra
Solution
Maria da Graça
Posted on 2016-07-10
Maria da Graça
Rank: #34435
Posted on 2016-07-10
Solution
Thank you.
Solution
Login to reply
New Post
Available Forums
Technology & Integration
News and Announcements
Forge Discussions
Meta
Hints and How-To Guides
Usability
Installation Troubleshooting
Personal Environment Troubleshooting
Forum Notifications
Email Digest Settings
Loading...
(hidden) New Badge Popup