https://forums.nubuilder.cloud/viewtopic. ... ame#p13417
For my legacy DB project, they have used a pattern where there are many tables of 1:N records in various formats. I thought it would be nice to be able to have a tab with buttons for the various kinds of data, and when they click on one it would open an iframe with the browse or browseedit table for that type of data. Clicking on another button should close that iframe or replace it's contents with the newly selected data.
Is that possible?
Just so I'm not asking without trying . . . It seems like I could put a button on the form to run some JavaScript that could get the record ID from nuGetProperty('record_id') and make a call to nuPopup('BrowseFormCode', record_id). However, I wonder if that would be trying to find that record in the table in the browse table which isn't right, I need it to show matching rows for the foreign_key using that record number so it shows matching rows, not a unique record.
While this seemed promising, I'm not sure it is the right directly, or at least not right in terms of passing in the record_id and getting the browse form to open with matching results.
Right now when I try that, I get a very small popup window, and when I doulbe-click the title to expand it the title is "null" and only a save button is on the form. I looked up the form_id in the DB tables and used that instead of the form code, and now the popup has the right title, but no indication that it has the right passed data, and still only a save button.
Can you all rescue me again?
