A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

copy format and formulas of one report to a second report



 
 
Thread Tools Display Modes
  #1  
Old April 30th, 2010, 03:28 PM posted to microsoft.public.access.reports
Karen
external usenet poster
 
Posts: 1,223
Default copy format and formulas of one report to a second report

I need to copy a report to create a second report, and am looking to know how
to globally change formulas to a different table/query. The fields in the
two tables are identical, the data results are different.

Example of a Current formula:
=Sum(IIf([Customer Sat Results database]![The service or information you
received was appropriate and help]="Good",1,0))


New report formula would be:
=Sum(IIf([Internet Customer Sat Results database Query1]![The service or
information you received was appropriate and help]="Good",1,0))

there are about 96 formulas that need the table/query reference changed...

  #2  
Old April 30th, 2010, 07:05 PM posted to microsoft.public.access.reports
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default copy format and formulas of one report to a second report

Karen

This may seem a bit off-topic, but let me start out asking about the
underlying tables ...

If, as I infer from your description, you have two tables with identical
fields, I have to ask "why?" It would be quite rare in a well-normalized
relational database to need "duplicate" tables.

If you'll describe what business need you are attempting to satisfy by using
two (?or more?!) identical tables, folks here may be able to offer alternate
suggestions that both take advantage of Access' strengths AND get your
original request satisfied.

Good luck!

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"Karen" wrote in message
...
I need to copy a report to create a second report, and am looking to know
how
to globally change formulas to a different table/query. The fields in the
two tables are identical, the data results are different.

Example of a Current formula:
=Sum(IIf([Customer Sat Results database]![The service or information you
received was appropriate and help]="Good",1,0))


New report formula would be:
=Sum(IIf([Internet Customer Sat Results database Query1]![The service or
information you received was appropriate and help]="Good",1,0))

there are about 96 formulas that need the table/query reference changed...



  #3  
Old April 30th, 2010, 08:14 PM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default copy format and formulas of one report to a second report

I agree with Jeff's assessment but would also wonder why you even need to
have the table name in an expression in a control source of a text box. Table
names included in expressions would only be required if there are two or more
fields in the record source that are exactly the same.

--
Duane Hookom
Microsoft Access MVP


"Karen" wrote:

I need to copy a report to create a second report, and am looking to know how
to globally change formulas to a different table/query. The fields in the
two tables are identical, the data results are different.

Example of a Current formula:
=Sum(IIf([Customer Sat Results database]![The service or information you
received was appropriate and help]="Good",1,0))


New report formula would be:
=Sum(IIf([Internet Customer Sat Results database Query1]![The service or
information you received was appropriate and help]="Good",1,0))

there are about 96 formulas that need the table/query reference changed...

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:22 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.