Hi Maarten
On Jun 19, 2006, at 12:33 PM, Maarten de Vries wrote:
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.
Actually, I think it's better to have a reusable module that takes
ANY window and extracts data from the various elements where data is
stored within than to build the same sort of functionality into every
window of every application.
Yeah...the machines have to do more work, but that beats the heck out
of ME doing more work in writing code.
The question remains, how do I access a control element, such as an
EditField with a Control Class object?
Regards,
Chuck
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>
_______________________________________________
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>