Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / July 2005

Tip: Looking for answers? Try searching our database.

Group Using Conditional Format

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jackle - 22 Jul 2005 22:21 GMT
Is there a way i can group like items in a datasheet or tabular form? I'd
like the first column to have the main group. i'd like the first item of a
series of rows to be visible and the subsequent like items in the same row
invisible (like an Access report or Pivot table report.). See the samples
below.

Part#        wo#
026WOW  123456
026WOW  156985
026WOW  169875
026WOW  198563
0270OW  123654
0270OW  135698
0270OW  136546
0270OW  135796
035WOW  1965887
035WOW  203558

-- NEW WAY --
part#        wo#
026WOW  123456
               156985
               169875
               198563
0270OW    123654
               135698
               136546
               135796
035WOW  1965887
               203558

Signature

humanoid/earthling

Doogle - 25 Jul 2005 07:39 GMT
Hi Jackle,

The only way I can think of achieving this is to create a temporary table
and then drive the datasheet or form off the table - as you know it's easy in
Excel to make a formula in one cell refer back tio the cell in the row above,
but there's no way that I've discovered to do the same in an Access table,
datasheet or continuous form. (And also you can't have a continous subform
within a continuous form, so there's another solution out of the window!!).

Now the only problem with creating a temporary table to achieve your planned
layout is this: if you want to add new records or edit existing ones it gets
quite complex! How good are you with VBA and either ADO or DAO?

I did briefly toy with another idea (two fields for part#, inputting to one,
with code to copy from 'field 1' to 'field 2' and then deleting from 'field
1' if another record already had that value) but the correct sorting of WO#
within each Part# section would only work if the first time you used a new
part# was always going to be the time with the lowest WO#, if you see what I
mean. Rats!!

I realise this doesn't answer the question, but if you want me to follow up
any of these ramblings please let me know.

Signature

Laury Burr a.k.a. Doogle
data   dot   dynamics   at   virgin   dot   net

> Is there a way i can group like items in a datasheet or tabular form? I'd
> like the first column to have the main group. i'd like the first item of a
[quoted text clipped - 26 lines]
> 035WOW  1965887
>                 203558
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.