Hide duplicate fields on a continuous form

  • Thread starter hobbit2612 via AccessMonster.com
  • Start date
H

hobbit2612 via AccessMonster.com

Hi I wonder if someone can help me please with a problem that's been baffling
me for days.

Basically I have two tables, one that shows different departments, the other
shows invoices allocated to that particular department. They are linked via
an InvoiceID using a One to Many relationship.

What I would like to do is to create a continuous form which shows all the
invoices allocated to the Departments, but without showing a duplication of
the department name.

e.g.

DEPARTMENT INVOICENO.

Wages 1
2
3

Personnel 1
2


I know that this can be done relatively easy on a report by hiding duplicate
values, but can anyone offer any guidance please on how this can be done on
form?

Many thanks

Chris
 
J

Jeanette Cunningham

You can do this if you use a form and subform.
The main form is for the department, the subform shows all the invoices for
the department.
Use a combo box in the main form for the user to select the department.


Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia
 
L

Linq Adams via AccessMonster.com

Jeanette's suggestion is dead on here! This is the classic form/subform
scenario.
 
H

hobbit2612 via AccessMonster.com

Jeanette and Linq,

Firstly, thank you both for replying. You are both spot on. The problem I
have is that I am trying to mirror a job which used to be done in Excel. The
form will be used almost as a Working sheet so I need all the data to be on
one screen as a list of information. I had thought of breaking this down to
the scenario you suggest Jeanette, but this obviosuly means that the user
would have to click through the Departments and hence would be diifficult to
make a comparison between the Departments. If it can't be done then I may
have to have a bit of a rethink.

Many thanks to you both for your time and trouble.

Regards

Chris

Jeanette said:
You can do this if you use a form and subform.
The main form is for the department, the subform shows all the invoices for
the department.
Use a combo box in the main form for the user to select the department.

Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia
Hi I wonder if someone can help me please with a problem that's been
baffling
[quoted text clipped - 31 lines]
 
J

Jeanette Cunningham

I have done it a simple way by letting the column for Departments contain
duplicates in occasional places in many apps.
I know it does not look the same as it does in excel, but no one has ever
complained.

In fact, now when I look at excel, those empty cells where the department
name is not shown, look a bit weird to me because I am so used to seeing it
done in acess.

Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia



hobbit2612 via AccessMonster.com said:
Jeanette and Linq,

Firstly, thank you both for replying. You are both spot on. The problem I
have is that I am trying to mirror a job which used to be done in Excel.
The
form will be used almost as a Working sheet so I need all the data to be
on
one screen as a list of information. I had thought of breaking this down
to
the scenario you suggest Jeanette, but this obviosuly means that the user
would have to click through the Departments and hence would be diifficult
to
make a comparison between the Departments. If it can't be done then I may
have to have a bit of a rethink.

Many thanks to you both for your time and trouble.

Regards

Chris

Jeanette said:
You can do this if you use a form and subform.
The main form is for the department, the subform shows all the invoices
for
the department.
Use a combo box in the main form for the user to select the department.

Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia
Hi I wonder if someone can help me please with a problem that's been
baffling
[quoted text clipped - 31 lines]
 
H

hobbit2612 via AccessMonster.com

Jeanette,

Many thanks for replying.

Yes the more I think about it the more I think I can get it to work this way.
Thanks very much for pointing me in the right direction.

Regards

Chris

Jeanette said:
I have done it a simple way by letting the column for Departments contain
duplicates in occasional places in many apps.
I know it does not look the same as it does in excel, but no one has ever
complained.

In fact, now when I look at excel, those empty cells where the department
name is not shown, look a bit weird to me because I am so used to seeing it
done in acess.

Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia
Jeanette and Linq,
[quoted text clipped - 30 lines]
 

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