put record on button caption in continous sub form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi

how can i do this?

i tried the onload event as below:

Private Sub Form_Current()
Me.Command2.Caption = Me.sbu
End Sub

but the result is all buttons showing the first record only.

how can i put a field on the button's caption?

thanks
 
Leung said:
how can i do this?

i tried the onload event as below:

Private Sub Form_Current()
Me.Command2.Caption = Me.sbu
End Sub

but the result is all buttons showing the first record only.

how can i put a field on the button's caption?


You can't. There is only one button (displayed multiple
times), so any property settings wull appear on all the
rows.

What you can do is fake it by using a bound text box
(overlaying it with a transparent button if you think that
works better).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top