简体   繁体   English

MS Access 2003公司报告

[英]MS Access 2003 Company Report

I'm running MS Access 2003, and I am not that familiar with it. 我正在运行MS Access 2003,但我对此并不熟悉。 The database tracks billing for companies and their line of business. 该数据库跟踪公司及其业务范围的账单。 Company ID's are matched with LoB ID's. 公司ID与LoB ID相匹配。 On a report, for example, the company might be GAP and LineofBusiness may be Shirts, or something, so GAP SHIRTS. 例如,在报告中,公司可能是GAP,而LineofBusiness可能是Shirts,等等,所以GAP SHIRTS。 Well, say I wanted GAP SHIRTS and GAP PANTS to turn up on an "Agency" report, but I wanted to use GAP SANDALS for just a "GAP" report .. Is it even possible? 好吧,说我想让GAP SHIRTS和GAP PANTS打开“ Agency”报告,但是我想仅对“ GAP”报告使用GAP SANDALS。甚至可能吗? There are other reports that use this information, so I can't really change anything in the Tables for each. 还有其他报告使用此信息,因此我不能真正更改每个表中的任何内容。 Note, there are other companies and subsidiaries that are in the 2 tables also. 注意,这两个表中还有其他公司和子公司。

Basically, for some LoB (Shirts/Pants), I want them to be grouped in an Agency report under the company XYZ (who they are connected to in the table/db), but Sandals LoB to be reported under GAP. 基本上,对于某些LoB(衬衫/裤子),我希望将它们归类到XYZ公司(在表/ db中与其连接的公司)下的Agency报表中,而Sandals LoB则要在GAP下进行报告。 How do I identify the differences in reporting the groups? 如何确定在报告组方面的差异? I attached a screen shot of what it looks like so far. 我附上了迄今为止的屏幕截图。

It will print out the report correct for all the other companies except for 2. I need "XYZ" and "GAP" along with only a select few of LoB's to print out on one report titled "Agency". 它将打印出除2以外的所有其他公司正确的报告。我需要“ XYZ”和“ GAP”,以及只有少数LoB才能在名为“ Agency”的报告中打印出来。 Keep in mind that the LoB's are indeed all connected to their corresponding companies, however for accounting purposes we need this change implemented. 请记住,LoB确实都与各自的公司相连,但是出于会计目的,我们需要实施此更改。

Also, I am no where near an expert at writing queries or even establishing one. 而且,我离编写查询甚至建立查询的专家都不远。

I hope I was clear enough. 我希望我足够清楚。

Thanks. 谢谢。

Below is a screen shot 以下是屏幕截图

http://i.stack.imgur.com/iTRms.png http://i.stack.imgur.com/iTRms.png

[table].[CompanyID] & "-" & [table].[LoBID] [table]。[CompanyID]&“-”&[table]。[LoBID]

http://www.techonthenet.com/access/queries/concatenate.php http://www.techonthenet.com/access/queries/concatenate.php

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM