View code of Submit button

N

Namita

Hi I have used submit button in the form view and it works fine i.e. data
gets captured. I want to have a look at this Submit button code. Where can I
see this?
 
D

Douglas J. Steele

With the form open in Design mode, select the button, then look at the
Properties display (if it's not visible, select it from the View menu).

Look at the Event tab: presumably the Click event will have [Event
Procedure] beside it. Click the ellipsis (...) to the right of that, and
you'll be taken to the code in the VB editor.
 
N

Namita

Hi Douglas,

Thanks I tried this but doesn't shows me the code.

Regards,
Namita

Douglas J. Steele said:
With the form open in Design mode, select the button, then look at the
Properties display (if it's not visible, select it from the View menu).

Look at the Event tab: presumably the Click event will have [Event
Procedure] beside it. Click the ellipsis (...) to the right of that, and
you'll be taken to the code in the VB editor.

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)



Namita said:
Hi I have used submit button in the form view and it works fine i.e. data
gets captured. I want to have a look at this Submit button code. Where can
I
see this?
 
D

Douglas J Steele

What does it have in the box beside the Click event?

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)


Namita said:
Hi Douglas,

Thanks I tried this but doesn't shows me the code.

Regards,
Namita

Douglas J. Steele said:
With the form open in Design mode, select the button, then look at the
Properties display (if it's not visible, select it from the View menu).

Look at the Event tab: presumably the Click event will have [Event
Procedure] beside it. Click the ellipsis (...) to the right of that, and
you'll be taken to the code in the VB editor.

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)



Namita said:
Hi I have used submit button in the form view and it works fine i.e. data
gets captured. I want to have a look at this Submit button code. Where can
I
see this?
 
Top