![]() |
Pete K author 9/21/2018 |
I worked it out. It would appear that the code suggested by the wizard is in error -- from what I can conclude from the documentation, getCurrentRecord() does not work on list pages. So I did some more digging and figured out that I can use this code on the client before event to send the field values to the server event as paramaters:
|
![]() |
jadachDevClub member 9/21/2018 |
Pete, I did somethining similar. This is what I did for server tab and it worked fine. dynamic record = XVar.Array(); |
![]() |
admin 9/22/2018 |
ajax.getCurrentRecord(); does work, just double-checked. Make sure that this table as primary key selected, this is important. |
![]() |
Pete K author 9/25/2018 |
Thanks guys. Sergey was right -- I had neglected to set the PK in ASPR. Odd that it didn't pick it up from the SQL schema as it generally does. |