I have been working on improving my business database since moving it to PanX.
In Pan6 my sales database used a choices list populated in .initialize from product in an inventory DB. This worked ok when the inventory had 10 CD titles. With books and other stuff we are way beyond that.
I would like to have it laid out in the form so that clicking on the Title brings up a clickable list with all available titles in the inventory (preferably with no duplicates). After selecting a title the next field (Medium) should automatically check the inventory what media (CD, DVD, etc) are available for this title and only list those.
At the moment I have popup menus for Title and Medium. Entering a number in the Quantity field triggers a procedure which builds the list for the Title popup (using “lookupall” here but this doesn’t omit duplicates). After a title is selected another procedure populates the Medium popup list with available media.
This looks like it’s would be a pretty common requirement and my solution is far from ideal. For example when I have to change the Quantity of a line item, the Title popup for that line gets re-populated and now doesn’t show the Title that was originally already selected (probably should use the Title field for display and separate popup for selection).
So many more questions but this is one of the main ones. I really enjoy Panorama(X) and it’s my fault that I only do programming in it twice a year…t