There probably is, but it seems a bit like overkill... I would suggest you either pass only the data required or the controls containing the data. I don't see why you'de have to cycle every control on the window. If you don't know the number of the controls/data you need to pass, make the parameter an array.
Maarten On 19/06/06, Chuck Pelto <[EMAIL PROTECTED]> wrote:
Greetings, I'm trying to build a module method that can be reused in other projects. This method is to pull data from editfield, popup menus, comboboxes, etc., etc. to construct an SQL search string. The idea is that the method is passed the window and then checks every control object in the window to see if it is such a control object as we might find data to search on within it. Then to build the SQL search string based on found data. The question is, is there a way to pull data from such controls using the Control class? Would the Handle help? If so, how? If not, is this idea I'm working towards even feasible? Regards, Chuck _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
