10/5/2023 9:05 PM | |
Joined: 11/16/2015 Last visit: 7/30/2024 Posts: 2 Rating: (0) |
Hi, i have an async function that interacts with a database (mssql) through stored procedures, and as return value, it creates a JSON object from the retrieved records. When I trigger the function to use a stored procedure with a SELECT instruction, I get the records I need inside the async function. I want to use these records in a table view (CWC) by setting a property of that table view, by the click of a button. The problem is that when i click de button, the records I get from this async function are undefined. I know it has something to do with the way i need to call an async function. But so far i had no succes on trying different methods. Can anyone help me with getting the right code for this button.click event? Thanks in advance, Bert AttachmentCallStoredProcedure.txt (284 Downloads) |
Last edited by: BertVanpee at: 10/05/2023 21:05:57Last edited by: BertVanpee at: 10/06/2023 08:40:42 |
|
Follow us on