PC Review


Reply
Thread Tools Rate Thread

Cut and Paste from Report to Form

 
 
=?Utf-8?B?UXVpbg==?=
Guest
Posts: n/a
 
      1st Jan 2007
I am learning Access...

This probably is not the "normal" way do doing things, but I created a table
and then I created a report. I then cut and pasted most of the controls from
the report into a new form.

The reason for doing this is I will then have exactly the same size text
boxes in the form as the report and I will know that if text entered into the
form does not fit it will not fit into the report. I can easily see when I
have typed too much text into the text boxes of the form.

Anyway, I can not seem to make my text show up in the report when it is
entered into the form text boxes. All the controls in the form and report
seem to have the "control source" established.

Is this copy and paste idea of mine ok?

Quin
 
Reply With Quote
 
 
 
 
John Vinson
Guest
Posts: n/a
 
      1st Jan 2007
On Sun, 31 Dec 2006 20:44:00 -0800, Quin
<(E-Mail Removed)> wrote:

>I am learning Access...
>
>This probably is not the "normal" way do doing things, but I created a table
>and then I created a report. I then cut and pasted most of the controls from
>the report into a new form.
>
>The reason for doing this is I will then have exactly the same size text
>boxes in the form as the report and I will know that if text entered into the
>form does not fit it will not fit into the report. I can easily see when I
>have typed too much text into the text boxes of the form.
>
>Anyway, I can not seem to make my text show up in the report when it is
>entered into the form text boxes. All the controls in the form and report
>seem to have the "control source" established.
>
>Is this copy and paste idea of mine ok?
>
>Quin


Well, you also must set the Form's Recordsource to the same query or
table as the Reports.

Note that you can open a Form in design view and use File... Save As
to save it as a Report, or vice versa.

John W. Vinson[MVP]
 
Reply With Quote
 
Larry Linson
Guest
Posts: n/a
 
      1st Jan 2007
Did you set a RecordSource for the Form identical to the RecordSource of the
Report, to "bind" the Form to the data? Or, are you displaying the Report
prior to the Record being saved that's entered on the Form? I ask these
questions because there's no linkage between a Form and a Report, except via
the underlying Tables.

A record is saved when you explicitly Save with the menu item (Records |
Save Record) or Shift+Enter, or by moving off the record to another, or by
closing the Form.

It may not be particularly helpful to you now, but later you may appreciate
that many always create a Query, even if it is every field in just one
table, to use as RecordSource.

I've never done what you are doing, because I may want different
configurations of Controls on the Form and the Report. For example, there is
a CanGrow property on Controls in a Report that will expand the Control to
another line, if needed.

But, I see nothing wrong with what you're doing. Just be aware that when you
copy and paste Controls, you do NOT bring along event code or event macros.

Larry Linson
Microsoft Access MVP

"Quin" <(E-Mail Removed)> wrote in message
news:FC0B7122-65D3-4D23-BB77-(E-Mail Removed)...
>I am learning Access...
>
> This probably is not the "normal" way do doing things, but I created a
> table
> and then I created a report. I then cut and pasted most of the controls
> from
> the report into a new form.
>
> The reason for doing this is I will then have exactly the same size text
> boxes in the form as the report and I will know that if text entered into
> the
> form does not fit it will not fit into the report. I can easily see when
> I
> have typed too much text into the text boxes of the form.
>
> Anyway, I can not seem to make my text show up in the report when it is
> entered into the form text boxes. All the controls in the form and report
> seem to have the "control source" established.
>
> Is this copy and paste idea of mine ok?
>
> Quin



 
Reply With Quote
 
=?Utf-8?B?UXVpbg==?=
Guest
Posts: n/a
 
      2nd Jan 2007


"John Vinson" wrote:

> On Sun, 31 Dec 2006 20:44:00 -0800, Quin
> <(E-Mail Removed)> wrote:
>
> >I am learning Access...
> >
> >This probably is not the "normal" way do doing things, but I created a table
> >and then I created a report. I then cut and pasted most of the controls from
> >the report into a new form.
> >
> >The reason for doing this is I will then have exactly the same size text
> >boxes in the form as the report and I will know that if text entered into the
> >form does not fit it will not fit into the report. I can easily see when I
> >have typed too much text into the text boxes of the form.
> >
> >Anyway, I can not seem to make my text show up in the report when it is
> >entered into the form text boxes. All the controls in the form and report
> >seem to have the "control source" established.
> >
> >Is this copy and paste idea of mine ok?
> >
> >Quin

>
> Well, you also must set the Form's Recordsource to the same query or
> table as the Reports.
>
> Note that you can open a Form in design view and use File... Save As
> to save it as a Report, or vice versa.
>
> John W. Vinson[MVP]
> My form and report is now working. I found that I can save a form as a report using "Save As" but I can not save a report as a form. The only options offered are "Report" and "Data Access Page"

 
Reply With Quote
 
=?Utf-8?B?UXVpbg==?=
Guest
Posts: n/a
 
      2nd Jan 2007


"Larry Linson" wrote:

> Did you set a RecordSource for the Form identical to the RecordSource of the
> Report, to "bind" the Form to the data? Or, are you displaying the Report
> prior to the Record being saved that's entered on the Form? I ask these
> questions because there's no linkage between a Form and a Report, except via
> the underlying Tables.
>
> A record is saved when you explicitly Save with the menu item (Records |
> Save Record) or Shift+Enter, or by moving off the record to another, or by
> closing the Form.
>
> It may not be particularly helpful to you now, but later you may appreciate
> that many always create a Query, even if it is every field in just one
> table, to use as RecordSource.
>
> I've never done what you are doing, because I may want different
> configurations of Controls on the Form and the Report. For example, there is
> a CanGrow property on Controls in a Report that will expand the Control to
> another line, if needed.
>
> But, I see nothing wrong with what you're doing. Just be aware that when you
> copy and paste Controls, you do NOT bring along event code or event macros.
>
> Larry Linson
> Microsoft Access MVP
>
> "Quin" <(E-Mail Removed)> wrote in message
> news:FC0B7122-65D3-4D23-BB77-(E-Mail Removed)...
> >I am learning Access...
> >
> > This probably is not the "normal" way do doing things, but I created a
> > table
> > and then I created a report. I then cut and pasted most of the controls
> > from
> > the report into a new form.
> >
> > The reason for doing this is I will then have exactly the same size text
> > boxes in the form as the report and I will know that if text entered into
> > the
> > form does not fit it will not fit into the report. I can easily see when
> > I
> > have typed too much text into the text boxes of the form.
> >
> > Anyway, I can not seem to make my text show up in the report when it is
> > entered into the form text boxes. All the controls in the form and report
> > seem to have the "control source" established.
> >
> > Is this copy and paste idea of mine ok?
> >
> > Quin

>
>
> Larry, thanks for your comments. I found them helpful


Quin
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
report format can copy and paste iccsi Microsoft Access Reports 3 12th Aug 2011 08:47 PM
Need to Copy/Paste visual of report Bonnie A Microsoft Access Reports 1 18th Aug 2008 08:16 PM
copy paste a report format =?Utf-8?B?dmFzc2lsaXM=?= Microsoft Access Reports 2 28th Jan 2007 09:14 AM
Copy/Paste from Snapshot Report =?Utf-8?B?UGV0ZXIgVA==?= Microsoft Access Reports 0 3rd Nov 2006 03:00 PM
Paste to report from a file =?Utf-8?B?Q2Fyb2wgR3Jpc21vcmU=?= Microsoft Access VBA Modules 6 20th Dec 2005 11:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:12 AM.