Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 3rd, 2007, 04:11 PM
Registered User
 
Join Date: Apr 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Replicate 'group by' in continuous subform?

Hi all,

I am looking to try and replicate the 'group by' functionality of reports in a continuous subform - without much success so far it has to be said...

The main form is a single form containing customers.
The subform is a continuous form containing reservations.
They are linked by one customer to many reservations on CustID.
Each reservation can have one or more rooms, also linked by one reservation to many rooms on ResID, so the subform will display a record for each room within a reservation.

To simulate the grouping, what I'm trying to achieve is to group the records by date. So if three records in a row all belong to the one reservation, I only want to see the date displayed next to the first record and nothing next to records 2 and 3.

Is it possible then to hide a control (in this case txtDate) based on the value of the control above it, either on the load or requery after filter of continuous forms?

Or alternatively is there another way to achieve a similar 'grouping' effect?

Many thanks!
PeregrinTook





Similar Threads
Thread Thread Starter Forum Replies Last Post
Change button caption on continuous subform PeregrinTook Access VBA 2 April 16th, 2007 05:16 PM
Restart new group number in Group Footer sukarso Crystal Reports 2 October 13th, 2006 12:11 PM
Counting Checkboxes On A Continuous Subform PC User Access VBA 4 April 26th, 2005 09:26 PM
Hide Subform Using Option Group martinaccess Access 1 October 3rd, 2004 10:48 AM
How to replicate database using SQL SERVER 2000 debsoft SQL Server 2000 2 June 27th, 2003 04:59 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.