controlling subreport
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » Controlling a subreport

Controlling a subreport

· High Priority · Version 2007

replyReply Wed 30 Nov 2011, 15:19Delegate Danny said...

Danny has attended:
Access Introduction course
Access Intermediate course
Access Advanced course
Access VBA course

Controlling a subreport

Hi

I have a list of my clients in list/option box, using on the onClick property i would like a macro to change the record to a linked record on a subreport relative to the client i had selected

thank you


dan

For upcoming training course dates see: Pricing & availability

replyReply Tue 6 Dec 2011, 09:08Trainer Simon said...

RE: controlling a subreport

Hi Danny,

Thank you for your question.

I will have a look at some code I have at home and see if I can send you it tomorrow morning.

The code will be generic but you should be able to edit it to match your requirements. Have you attended the Access VBA course with us? If so, they should be some similar code that you may be able to adapt.

Regards

Simon

 

Please browse our web site to find out more about
advanced microsoft access in london and other Microsoft training courses.

Access tip:

Deleting duplicate records from a table

You cannot delete records tables where there duplicate records. A way around this is to create a new table which wont hold the duplicates. and then deleting the old table.

1. Use a make-table query based on this table only. IMPORTANT - Ensure that you include all of the fields from your original table or you may loose data.

2. Open the query's property sheet by using VIEW, QUERY, PROPERTIES, and set the Unique Values property to Yes

3. Because you have selected the Unique Values to Yes when you run the query, Access creates a new table without duplicate records. You can now delete the old table and rename the new one.

View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard