Jump to content
Server Maintenance This Week. ×

'white out' duplicate dates


This topic is 4201 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi, sorry if this has come up before, I've trawled through the posts but can't find a solution

I've an Activity table with Date, Time, and Activity fields .. the data is filled in using one layout but I've another layout for printing it and on this print layout I want only the first of duplicate Dates printed and thought using conditional formationg to turn the date white would be a solution (i've used this elseswhere in the program and it works fine as we print only to white paper)

at the moment I get

17/5/2012 9.00 checked doors 1 & 2

17/5/2012 9.15 checked doors 4 &15

18/5/2012 8.14 checked doors 3, 4 &5

I would like it printed

17/5/2012 9.00 checked doors 1 & 2

9.15 checked doors 4 &15

18/5/2012 8.14 checked doors 3, 4 & 5

ie, the the text of the date field in the second record to be white

I've tried various thngs - list(), position(), self join relationships, get(recordnumber) etc but seem to be going round in circles so presume i'm misisng something

any help thanks

Edited by Cateleb
Link to comment
Share on other sites

The easiest (and fastest) way would be to group your records by date, and print them as:

17/5/2012

• 9.00 checked doors 1 & 2

• 9.15 checked doors 4 &15

18/5/2012

• 8.14 checked doors 3, 4 & 5

using a sub-summary (by Date) part.

To do it your way, try formatting the Date field conditionally using =

Self = GetNthRecord ( YourTable::Date ; Get (RecordNumber) -1 )

as the condition.

  • Like 1
Link to comment
Share on other sites

Thanks Comment, the 'self =..' thing works (still working out how .. think I'll need to dumb down my profile a tad from intermediate !)

I actually hadn't thought of the sub-summary, we've been using xls to do the activity logs for the past 10 years and I was blinkered into merely reproducing that look

Link to comment
Share on other sites

This topic is 4201 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.