Label & continuos forms

A

alex

In a continuos form I want to add a label to print the
relative record .
The problem is that if I click on the label the record is
not 'focused' and therefore the printed record is the
previous selected one in form. Is there a solution?

Thank you in advance
 
M

Marshall Barton

alex said:
In a continuos form I want to add a label to print the
relative record .
The problem is that if I click on the label the record is
not 'focused' and therefore the printed record is the
previous selected one in form. Is there a solution?


Normally, people use a button instead of a label so the
record does become current. Even a text box would do what
you want. Do you have some special requirements that force
you to use a label?


Actually, it's pretty common to have the
label/button/textbox in the form's header/footer section.
This is then used to print whatever record is already
current.
 
G

Guest

-----Original Message-----
alex said:
In a continuos form I want to add a label to print the
relative record .
The problem is that if I click on the label the record is
not 'focused' and therefore the printed record is the
previous selected one in form. Is there a solution?


Normally, people use a button instead of a label so the
record does become current. Even a text box would do what
you want. Do you have some special requirements that force
you to use a label?


Actually, it's pretty common to have the
label/button/textbox in the form's header/footer section.
This is then used to print whatever record is already
current.

--
Marsh
MVP [MS Access]
.
Using a label would allow the user to print a record
with one click only (as a web-based application) without
first select the record. Clicking a button or a field
focus the current record. This is not the case for
labels. Is there a way to focus the record of the label
I'm clicking on ?
 
M

Marshall Barton

-----Original Message-----
Using a label would allow the user to print a record
with one click only (as a web-based application) without
first select the record. Clicking a button or a field
focus the current record. This is not the case for
labels. Is there a way to focus the record of the label
I'm clicking on ?

No. A label can not receive the focus so the current record
is not going to follow the click.

What is wrong with using a button?

If appearance is of overriding concern, you could even make
the button transparent and place it on top of the label.
 
A

Alex

-----Original Message-----


No. A label can not receive the focus so the current record
is not going to follow the click.

What is wrong with using a button?

If appearance is of overriding concern, you could even make
the button transparent and place it on top of the label.

Yes , I think it's the only solution
Thank you
 

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

Top