
I'm developing a Form to allow batch Quantitiy Moves based on a bar code scan (see above). The "Next Location" Drop List has a list source of IDO COllection SLItemLocs w/ a custom filter attached. I want the Drop List to dynamically change based on the Item that was scanned so it is populated with all of the valid locations the Item could be moved to.
When the scan takes place, I have a line of code in the event that has this:
ThisForm.Components["dropListNextLoc"].IDOCollection.<rest of line here>
When the Form gets to this point, it says that it's not tied to a valid object. Is this how you get the IDO Collection for a Drop List? The Primary Collection is my own collection. I don't see how adding a Secondary Collection to the Form would help, but I'm open.
Any help would be appreciated.