I need to put cmdButtons in a grid. No problem. However, I am having a seriously hard time creating a dynamic caption. Is it possible? For example, I want the button to have an invoice number on it. I have tried a loop
the cmdButton in the only control in column 1
for nRow = 1 to reccount
activatecell(nRow, 1)
cmdButton.caption = cursor.invoice
endfor
...doesn't work.
I added a column, and set the control source to invoice no.
for nRow = 1 to reccount
activatecell(nRow, 1)
cmdButton.caption = column10.text1.value
endfor
...doesn't work.
If only there was a true dynamiccaption property.
DAvid
David