A
|
AlphaBase author 5/17/2021 |
Just to clarify a little further. Where would the select statement go where I would then pass the result set into the dropdown? |
![]() |
Admin 5/20/2021 |
In the article you referencing see Note 3, it explains how to retrieve data from the database and pass it to Dialog API. |
A
|
AlphaBase author 5/22/2021 |
Thanks for pointing out Note 3. It had already occurred to me to use the button 3-part event(s). Haven't had a chance to try it out yet. Hopefully this weekend. |
A
|
AlphaBase author 5/22/2021 |
So here is my dilema. I can use a button, read the select records back to the server, do some processing and then return the data in the Client After event to display the dialog. The user selects a record from a dropdown (which was populated with some data from the server event). Now when the user clicks "OK" I need to run a server event to update the selected data. How do I run a "second" server side event from the dialog api's okay button? To recap:
1 through 5 is straightforward enough. How do I do #6? That is the question. |
![]() |
HJB 5/23/2021 |
Custom dependent dropdown boxes ... for inspiration purposes only ... |
A
|
AlphaBase author 5/23/2021 |
Thanks HJB. This looks interesting but it's a lot too digest. Not sure I'll be able to implement it. |
W
|
wpl 5/23/2021 |
Alphabase, I think what admin is pointing to is: if your button is sitting on a list page, you could populate an array with the needed information from a table in "BeforeShowList" event Regards |
A
|
AlphaBase author 5/24/2021 |
Thanks WPL. Actually, I did think of that. It's a possibility, but not an ideal solution. I may use that as a lsast resort. Another possibility is using JS to click a custom button - not sure if you can click a hidden button? |
![]() |
Admin 5/26/2021 |
Just something that will help you implement bullets #3 and #4: |
A
|
AlphaBase author 5/26/2021 |
Just saw that. That's great. Can't wait to try it out. Thanks much! |