| | |||||||
|
Welcome to the YD Scuba forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact support. |
| Technology: Discuss VBA for Access in the Non-Diving Related Forums forums: As I am between contracts I am back on teaching myself the basics of VBA. BTW I am using Access ... |
| | LinkBack | Thread Tools | Display Modes |
| ||||
| you need to do a for each loop over the controls in the form then test each one to see if it is of type button then you can set the property |
| ||||
| Quote:
you loop through the controls collection testing for type objectname1 etc and call your AfterUpdate code.. (got slightly confused momentarily by your use of the word 'properties' )
__________________ Wilbo. Last edited by wilbo : 08-02-08 at 02:38 PM. |
| Thread Tools | |
| Display Modes | |
| |
| | ||