-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I believe you should use the phrase "display tables" in place of
"tables" when referring to your form "representing tables in a
convention center," because most of the users of the CDMA newsgroup
automatically think of database tables when someone uses the word
"tables" in their post.
I understand your description to mean that you have a form that has
CommandButtons that are supposed to graphically represent the display
tables, and their locations, in a convention center. You want to
visually select display tables (CommandButtons) on the form and fill in
another form that will register each vendor to one, or more, display
table.
Suggestion:
I'd use Labels instead of CommandButtons. Labels are "lighter" than
Command Buttons (according to Microsoft) [lighter means the control
takes up less memory when the form is loaded.] Then you could change
the Label's BackColor to different colors that would indicate that the
display table is "Available," "Reserved" or some other state. You could
also set the Label's Caption property to the vendor's name or
abbreviation, so you could easily see which vendors have which tables.
Use the Label's OnClick event procedure to pop-up the form that you'd
use to register the vendor. When you close the form the vendor info
(including display table number) would be saved to the database table
that the vendor info form is bound to. Then the form which holds the
graphical representation of the convention center would update itself by
"seeing" which display table has changed state (by reading the database
table that the vendor info is stored in).
HTH,
MGFoster:::mgf
Oakland, CA (USA)
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv
iQA/AwUBPyo+W4echKqOuFEgEQK5PACg9zFIHYlaLwSfZBy4Ynt46pRAcaUAnjBq
CbX0T7aR4/Px1M/GjqNULf2X
=pDtb
-----END PGP SIGNATURE-----