Jim DeMarco
Jdemarco at hshhp.org
Tue Mar 25 10:09:02 CST 2003
Not clear on just what you want? Are you passing the form an existing class object but want the ability to pass an object of any custom (class) type? And then show the object's property values no matter what type of object you passed in? Or will yo know in advance what type of object to expect? Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, March 25, 2003 10:54 AM To: AccessD Subject: [AccessD] Populating a form with attributes of a class Suppose I have a class that represents a person, a car, a network, whatever. What would you suggest is the best way to present the attributes of an instance of said class on a form? Somehow the form has to be able to see the object. Pass its name and then derefence it inside the form_open()? It's simple enough in debug.print because you can deal with the object as an object and just interrogate it. I don't want to declare a global because there could be any number of them. Any suggestions, you object guys? "Prediction is difficult, especially of the future." - Werner Heisenberg _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ***********************************************************************************