bound properties

D

Damian S

Hi phxdatadr,

You can't "bind" it to a field, but in the form on current event you can set
the caption to a field like this:

me.CONTROL.caption = me.FIELDNAME

Assuming the control supports the caption property...

Hope this helps.

Damian.
 
P

phxdatadr

It is like this .
I have a table with restaraunt menu items in it. I want to dynamically
populate a form with a button for each item in the table and then have the
the caption property dynamically populated with the menu_item field in the
table.
 
D

Damian S

Hi again,

Perhaps you could have a combo box for the user to select the item, and a
single button on your form to process the selected item. This would be
easier and cleaner than creating (potentially many) buttons on the fly.

Damian.
 
P

phxdatadr

I have a table with restaraunt menu items in it. I want to dynamically
populate a form with a button for each item in the table and then have the
the caption property dynamically populated with the menu_item field in the
table. the contol has to be a button as this is a touch screen POS system.
 
Top