I am wondering if it is possible to use Xbasic to cause a drop down list in a form to show only items currently listed in a table.
I do scheduling for a packaged-bean manufacturing plant. I have a schedule database set up storing quantities of desired items and their ship dates. Sometimes I am asked "How much yellow popcorn do you have scheduled?" or other variety.
On a form, I'd like a "Quick Info" tab that has:
a)......a drop down list that automatically shows only the varieties currently listed in my database
so that I can have:
b)......an embedded browse that would then be automatically filtered by the drop down list's selected variety
so that I can have:
c)......a calculated total quantity of the orders calling for the particular variety
I have a "Quick Info" tab on my form. On it, I have a drop-down list based on the variety field. Unfortunately, it only shows the variety of the currently selected record. The drop-down list is empty. I know I can manually enter the multitude of varieties I work with (Field Properties, Choices tab), but I would rather the list autoupdate based upon what's currently in my schedule.
(I also know that I can scroll through my embedded browse to my desired variety, click the quick filter button, and then highlight all remaining records to get a total quantity, but I'd rather be able to just select the bean and have Alpha 5 do the rest.)
I've been searching through all of my manuals for Xbasic scripts and/or code that would allow this, but my inexperience with programming is a stumbling block for me. Can anyone give me a general idea of what direction and steps to take?
I've included a small, simplified table called "Apples & Oranges, Etc" as a starting spot. I've been chewing on this for weeks now, so I'd really appreciate any assistance! :-)
I do scheduling for a packaged-bean manufacturing plant. I have a schedule database set up storing quantities of desired items and their ship dates. Sometimes I am asked "How much yellow popcorn do you have scheduled?" or other variety.
On a form, I'd like a "Quick Info" tab that has:
a)......a drop down list that automatically shows only the varieties currently listed in my database
so that I can have:
b)......an embedded browse that would then be automatically filtered by the drop down list's selected variety
so that I can have:
c)......a calculated total quantity of the orders calling for the particular variety
I have a "Quick Info" tab on my form. On it, I have a drop-down list based on the variety field. Unfortunately, it only shows the variety of the currently selected record. The drop-down list is empty. I know I can manually enter the multitude of varieties I work with (Field Properties, Choices tab), but I would rather the list autoupdate based upon what's currently in my schedule.
(I also know that I can scroll through my embedded browse to my desired variety, click the quick filter button, and then highlight all remaining records to get a total quantity, but I'd rather be able to just select the bean and have Alpha 5 do the rest.)
I've been searching through all of my manuals for Xbasic scripts and/or code that would allow this, but my inexperience with programming is a stumbling block for me. Can anyone give me a general idea of what direction and steps to take?
I've included a small, simplified table called "Apples & Oranges, Etc" as a starting spot. I've been chewing on this for weeks now, so I'd really appreciate any assistance! :-)
Comment