Changing multiple control recordsources

T

Tony Wainwright

Hi guys

I have an Access database that has had some 40 reports imported into it.
These reports have groupings with sums in the footers. Some of the reports
have as many as 7 groupings. The field names in the database have
consequently been changed from CurrentValue to CurrentValueSterling. Is
there any function that I could use to change these values? or would I have
to manually edit each controls recordsource. I'm looking for some sort of
Find?Replace function.

Thanks
Tony
 
B

Brendan Reynolds

Rick Fisher's Find and Replace add in (www.rickworld.com) can do this. It's
not free, but it is inexpensive and, in my opinion, excellent value for
money.

(I have no connection with Rick Fisher other than that of being a very
satisfied customer).

--
Brendan Reynolds (MVP)
http://brenreyn.blogspot.com

The spammers and script-kiddies have succeeded in making it impossible for
me to use a real e-mail address in public newsgroups. E-mail replies to
this post will be deleted without being read. Any e-mail claiming to be
from brenreyn at indigo dot ie that is not digitally signed by me with a
GlobalSign digital certificate is a forgery and should be deleted without
being read. Follow-up questions should in general be posted to the
newsgroup, but if you have a good reason to send me e-mail, you'll find
a useable e-mail address at the URL above.
 
S

suntisuka

If I not misunderstanding that you want to change ControlSource in every 40
reports, You can bind your report to a query rather than to table. In this
query, You can alias each field name. So, You can alias CurrentValueSterling
with CurrentValue. Then, your report still use the same ControlSource name.
Just change Report's RecordSource during runtime.

HTH
Suntisuk
 

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