I have a FileMaker Pro database the was create by another person when the created it years ago it was not relational. It has many contacts and each contact is assigned to a single group. I want to get a distict list of those groups from that database. So if I started with say
group 1
group 1
group 2
group 3
group 7
group 3
I would end up with just groups 1,2,3,and 7 once each
than I can import them into the new database to make it relational so one contact can belong to more than one group
but I can't seem to figure out how to get that list. If someone could help I would appreciate it.
Sort by group, then export into, say, tab-separated file, and in the export dialog check the "group by" flag for the group field. The resulting file will have only distinct groups.
Related
In Crystal Reports 2013, I am developing a financial report that has multiple levels of grouping:
Company Group (a collection of properties)
Company (an individual property)
Division (a group of departments that make up a division)
Account Group (i.e. Revenue, Labor Costs, Operating Expenses, etc.)
Account Sub-Group (just an additional break down of Account Group)
Account Name (The name of a particular account range)
And this all works fine. However, I was given a change request for the report specifying that the level 6 grouping should be variable based on the level 4 grouping (i.e. If Account Group = Revenue then Account Name; if Account Group = Labor Costs then Department Name [IT, Accounting, etc]).
I have tried adding in a group 7 as the Department Name, conditionally suppressing Group 6 based on Group 4, but what happens is that in the groups where it is using the Department Name group (7), the department names are repeated for each Account Name. If I move the groups so that Department Name is 6 and Account Name is 7, then I have the problem in the one group is reporting off of the Account Name.
Here is a screen grab of the report structure with out the additional grouping, no repetition:
Here is a screen grab of the repetition that occurs when Department Name is used as group 7:
Finally, here is a grab of the repetition that occurs if Department Name is used as group 6:
My question is, how can I selectively group the report on either Account Name or Department Name (based on Account Group) without repeating the group type?
I know that this is an issue caused by the hierarchy of the grouping (i.e. multiple departments can use a single account type) so I need to figure out how to have the two groups at an equal level, with some sort of formula/code to decide which one to use.
Actually your approach is wrong....you can't split a group by making it a subgroup of the original group (group 6 and group 7)
You need to write a simple if condition and change the group. For group 6 write formula as below and group using that formula
If account="revenue"
Then account name
Else if account= "labour"
Then department
Create the 6th group with this formula,this automatically change the group6 display as per the account group
Working with vehicle asset management and I am selecting data based on two statements:
({EQ_MAIN.PROCST_PROC_STATUS} in ["A", "AS", "AT"] and
{EQ_MAIN.DEPT_DEPT_CODE} like "P*" and
{EQ_MAIN.ASSET_TYPE} <> "COMPONENT")
or
({EQ_MAIN.PROCST_PROC_STATUS} in ["TA"] and
{EQ_MAIN.DEPT_TEMP_LOANED_TO} like "P*" and
{EQ_MAIN.ASSET_TYPE} <> "COMPONENT")
Basically, if the Equipment is in status A, AS, or AT and belongs to the departments that start with P, I want it to show on the report. However, the second part of the selection statement accounts for equipment that is temporarily loaned to another department (status TA). The selection statements seem to be working fine.
I have this data grouped by {EQ_MAIN.DEPT_DEPT_CODE}. But I want it to to include any temporarily loaned out equipment under the department group, if the equipment is on temp loan to said department. For example, Car A belongs to department K1234, but is on loan to department P5678. I want Car A to show up under the group for P5678 along with all the other vehicles that belong to P5678. Essentially, whether a piece of eq belongs to a specific department or is simply on loan to said specific department, I want to see them under the same group in Crystal. Thoughts?
I do not believe that a grouping formula is the solution for this scenario. The challenge is based in the recordset. Since there is only one LOANED_TO record per DEPT_CODE, you can go about this a couple of ways.
If this is an option, modify your query or view so that you generate all LOANED_TO records for each DEPT_CODE. This could be achieved by placing a subquery in your FROM clause if using SQL. Then, join your parent table EQ_MAIN to the subquery on a non-unique, general key. Since there is no one-to-one relationship in this scenario, you should get all LOANED_TO records for each DEPT_CODE. This will, however, bloat your recordset and mar performance.
Then, group the report first on {DEPT_CODE} and second on {LOANED_TO}. Use a suppression formula on the second group to hide any {LOANED_TO} Departments that do not match the parent group {DEPT_CODE}.
The more "traditional" Crystal approach is to group on {DEPT_CODE}. Then, add a sub report to a group section. Using the same datasource, move the second chunk of selection criteria (following the OR clause) to the sub report record selection. This will return all {LOANED_TO} records. Add a sub report link between the group {DEPT_CODE} and the sub report {LOANED_TO} dept. This will filter results to just those {LOANED_TO} records related to the main group.
I am having my course project now,
and I am planing to create an application for soccer league,
but I am facing a problem.
I want to create new league
and there I want to create groups and teams in this way:
So, I want to create number of tables based on the (No. of Group) that will be entered by the user, for computing results among the teams inside each group.
And to set a (No. of teams /group), so based on that number rows in each group tables will be available.
I hope you got understand my problem.
I am facing formatting problem in generating SSRS report. I am having two groups in my report, one group is on list and other on tablix.
The first group with list contains only a textbox which display say AccountNo, while the other group has the entire table which displays the account details (AcctNo, AcctName, Type etc.).
I want to merge this two groups together, such that on each page I can see the both the groups, i.e., textbox the one with AcctNo and other with the table with acct details.
I am getting the first group on different page followed by the other group.
Can anyone suggests me how to merge these two group together on one page?
if possible in the table, the easiest way would be to create a parent group for the two groups, so both groups would have the same parent group
I'm trying to show employees at a company grouped by worked and still working (in vs2005 crystal reports).
The user can pass by parameter a list of companies they want to show.
Tables: VRP-COMPANY, VRP-COMPANY-OPPORTUNITY, VRP-OPPORTUNITY-PRODUCT
The record selection formula: {VRP-COMPANY.COMPANY company} in {?companies}
Grouping is done on: VRP-COMPANY.COMPANY company, then formula to decide its working or worked and then on productname.
Now when I run the report I only get to see the companies who have got entries in the VRP-COMPANY-OPPORTUNITY. I want to see the company name (group) even if there are no entries in the opportunity table. How to do this in Crystal Reports? I tried Left join between company and company-opportunity tabel but no effect.
I found the problem. Left join was correct but I had an additional select formula (on opportunity status to be closed-won. Therefore it let out the record. The record can also be null when there are no opportunities.
Should the question be deleted?