Looking for example on how to do a popup list that allows the user to choose a detail(slave) record
I'm looking for an example that shows the best way to do a popup list that allows the user to choose a detail(slave) record that they can then edit.
I'm writing small program that allows a user to create a manifest in a master table and then the user can add items to the manifest in a detail/slave table.
Is there a recommended way of doing this? Would you know of a good example that you could refer me to?
Thanks. Any help is greatly appreciated.
RE: Looking for example on how to do a popup list that allows the user to choose a detail(slave) record
Do you use AcuBench? If so, load the samples.pjt (in AcuGT\sample\AcuBench directory), In the structured view of AcuBench, use the treeview on Samplprj, generate the customers program, compile and execute. This does not have a popup list, but you could use the logic within that program and apply it to whatever control you choose.
pagebox.cbl (& sub program status) is another example of how to display a few records on a screen.