Combine dupe files to one, where <>data becomes new field (s)

My brain seems to have a rough with this concept, even though it's really not that complicated. What I have is a list of "membership" (we provided) and for some strange reason, instead of having 3, 4, or 5 columns exist for the different "classes", each Member can serve, the table has a field by "category" and in each case where a member has more than one destination of 'category', there is no record in doubles, with only the 'box' is different.

On top of this anomaly, some members have many places - so can repeat the names, but the phone numbers or address may be different. I need treat those as individual lists.

Normally, we have a record for each Member, and the fields of multiple within this folder categories - as any sane person would. What I can't understand is the correct sql or cf coding to combine the multiple (even assumed) members in a single record while taking the unique/different categories (from dupes) and everything just by adding them to the data base member output.

Example AS IS;

1, Bobs lamps, lamp sale

2 Bobs lamps, lamp repair

3, Bobs lamps, coconut Bikinis

Output desired;

1, lamps of Bobs, sale of lamp, lamp repair, coconut Bikinis

If I can output a CSV list to the desired format I can re - import generating new columns. However not all announcements will be several occurrences of category, so I'll need null placeholders for possible columns of 4 category.

I really hope it's more simple that I see right now, and one of you superstars can help a guy!

Thanks in advance!

First of all.  I think you have not necesarilly have an anomaly!  It will depend on if it comes to all the data, or just the way the data was extracted.

What you have here is normalized to a lot of relationship where a foreign key is duplicated with unique data for each record category value.

I really hope that you are NOT intended to turn that into this horriable table design.

Name Categor1 Category2 Category3
Bobs lamps sale of lamp lamp repair Coconut bikinis

But as for how to display without the expandable names... Depends a bit on what type of variable, the data are in.  If it's a record set from a query, it is trivial with nested loops .


#myData.name#

#myData.category#


If it is not in a recordset object variable then the closure would be more complex, but the idea is basically the same.

Tags: ColdFusion

Similar Questions

  • I need to combine several PDF files into a single attachment on my iPhone. I subscribe to the $ 9 per month package, but I can't seem to find an option to combine the files of one attachment. Can you please help?

    I need to combine PDF files in a magnetic. I subscribe to the $ 9 per month package. Is this possible?

    Hello

    With Adobe Acrobat iOS app, we can only create PDF of it. To combine the documents, go to https://cloud.acrobat.com/combinepdf on your device browser.

    Thank you

    Abhishek

  • can I combine PDF files into one PDF file with acrobat standard dc?

    Can I combine two PDF files into a single pdf with acrobat standard dc?

    This restriction applies only when you combine files using the CreatePDF online service, not when you use Acrobat.

  • When combining PDF files into one, I lose the electronic signature of a customer.

    I have packets of working with several individual PDF files. When a work package is complete, I need to then combine them into a single PDF file.

    When I do that, I lose any digital, electronic signature.

    How can I stop this from happening?

    It is absolutely crucial that this cannot be done. That would make digital worthless signatures if additional pages could be dragged into a signed document. The essential is that the signatures to documents together, still applies, no pages. Perhaps you rather need a PDF portfolio.

  • Combine PDF files into one file

    Downloaded the latest version yesterday and since then I can not combine pdf. Once I click on "combine" links for purchase options. Why is this happening?

    Hi chrisas43133246,

    Thank you for your response.

    Could you please try to connect to "https://cloud.acrobat.com/combinepdf" using your Adobe ID credentials and see if it works very well.

    Let me know how it goes.

    Kind regards

    Ana Maria

  • How to combine multiple PDFs into one document?

    A printer told me some time ago when I bought a few things, I can combine PDF files into one pdf. Can someone tell me how you do it, and do this with pdf that are the size of the different documents? I'm an invitation, program, cards and certificates for an awards ceremony, and wanted to know if I can combine all my pdf in a big pdf, even if they are all of different sizes.

    Thanks for any help!

    Even easier in Acrobat 9 (have nothing installed earlier to check): file > combine > merge files into a single PDF file...

    You must have a full version of Acrobat, possibly Pro, player not only.

  • I tried many combinations of the different pc in order to transfer files from one pc to the other and only max speed I have is from 4 to 10 Mbps.

    Hello

    I tried many combinations of the different pc in order to transfer files from one pc to the other and only max speed I have is from 4 to 10 Mbps.

    I use the switch/cat6 cables only the router is capable of 100 Mbps.

    Also, I connect the pc directly with cable and still the same speed.

    Win7 will get more than that and how?

    I read the other posts on this topic, but all patches are not applicable to me.

    I used various cables and switches and PCs in order to eliminate the possibility of a defective unit.

    Can you please help?

    Thank you

    Andreas

    Hello Andreas,

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.

    Forum TechNet Windows 7

    TechNet Windows Server Forum

    Hope this information helps.

  • How to combine documents on the new Adobe Reader software? It seems to have updated and it does not combine files into one.

    How to combine documents on the new Adobe Reader software? It seems to have updated and it does not combine files into one.

    Se, Reader cannot do this. You can do it with a subscription to services pack pdf or the full version of Adobe Acrobat.

  • How to combine multiple PDFs into one file

    How to combine multiple PDFs into one file

    Hi Marketing Haskin,

    The link mentioned by Mandeep requires you to have the Acrobat software.

    However if you purchased export them to PDF / service Acrobat.com you can select 'Combine files' on the right side and then click on the button 'Select files' to select the files you want to combine.

  • How to move a specific tablespace data file from one directory to another

    Database: 10.2.0.1
    OS: generic
    Description of the problem: how to move a specific tablespace data file of one directory to another account of the database that is on the installer of Oracle Dataguard

    * Oracle is working on this issue, but at the same time opens the topic community so that community members can add their views, experience, or knowledge. This will strengthen again all the knowledge bases, including My Oracle Support and My Oracle Support Communities *.

    Published by: ram_orcl on August 16, 2010 21:21

    Dear ram_orcl,

    Please follow the procedures here;

    http://download-UK.Oracle.com/docs/CD/B19306_01/server.102/b14239/manage_ps.htm#i1034172

    8.3.4 Renaming a Datafile in the Primary Database
    
    When you rename one or more datafiles in the primary database, the change is not propagated to the standby database. Therefore, if you want to rename the same datafiles on the standby database, you must manually make the equivalent modifications on the standby database because the modifications are not performed automatically, even if the STANDBY_FILE_MANAGEMENT initialization parameter is set to AUTO.
    
    The following steps describe how to rename a datafile in the primary database and manually propagate the changes to the standby database.
    
       1.
    
          To rename the datafile in the primary database, take the tablespace offline:
    
          SQL> ALTER TABLESPACE tbs_4 OFFLINE;
    
       2.
    
          Exit from the SQL prompt and issue an operating system command, such as the following UNIX mv command, to rename the datafile on the primary system:
    
          % mv /disk1/oracle/oradata/payroll/tbs_4.dbf
          /disk1/oracle/oradata/payroll/tbs_x.dbf
    
       3.
    
          Rename the datafile in the primary database and bring the tablespace back online:
    
          SQL> ALTER TABLESPACE tbs_4 RENAME DATAFILE      2> '/disk1/oracle/oradata/payroll/tbs_4.dbf'
            3>  TO '/disk1/oracle/oradata/payroll/tbs_x.dbf';
          SQL> ALTER TABLESPACE tbs_4 ONLINE;
    
       4.
    
          Connect to the standby database, query the V$ARCHIVED_LOG view to verify all of the archived redo log files are applied, and then stop Redo Apply:
    
          SQL> SELECT SEQUENCE#,APPLIED FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;
          SEQUENCE# APP
          --------- ---
          8 YES
          9 YES
          10 YES
          11 YES
          4 rows selected.
    
          SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
    
       5.
    
          Shut down the standby database:
    
          SQL> SHUTDOWN;
    
       6.
    
          Rename the datafile at the standby site using an operating system command, such as the UNIX mv command:
    
          % mv /disk1/oracle/oradata/payroll/tbs_4.dbf /disk1/oracle/oradata/payroll/tbs_x.dbf
    
       7.
    
          Start and mount the standby database:
    
          SQL> STARTUP MOUNT;
    
       8.
    
          Rename the datafile in the standby control file. Note that the STANDBY_FILE_MANAGEMENT initialization parameter must be set to MANUAL.
    
          SQL> ALTER DATABASE RENAME FILE '/disk1/oracle/oradata/payroll/tbs_4.dbf'
            2> TO '/disk1/oracle/oradata/payroll/tbs_x.dbf';
    
       9.
    
          On the standby database, restart Redo Apply:
    
          SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE
            2> DISCONNECT FROM SESSION;
    
    If you do not rename the corresponding datafile at the standby system, and then try to refresh the standby database control file, the standby database will attempt to use the renamed datafile, but it will not find it. Consequently, you will see error messages similar to the following in the alert log:
    
    ORA-00283: recovery session canceled due to errors
    ORA-01157: cannot identify/lock datafile 4 - see DBWR trace file
    ORA-01110: datafile 4: '/Disk1/oracle/oradata/payroll/tbs_x.dbf'
    

    Hope that helps.

    Ogan

  • TDMS file creates several tabs data. You want to create only one.

    Hello NOR community,

    I am currently using the DAQ Assistant with my pots of chain record travel over a long time interval (see annex VI). I then use the vi "Write to a file as" to save the data in a file TDMS (see 'Write the file settings' photo attached for all the parameters chosen for the writing of the file). The file is written, however when I open the PDM file, the document creates a tab in Excel for every second of recorded data (please see attachment ""). It seems that the TDMS file is grouping all data every second, and then by creating a new group of data.

    How can I get the file to write all data on a single tab instead of creating multiple? I don't want to concatenate hundreds of tabs in a single great sheet.

    Thank you

    Chris

    You should not use the comment.  I just removed who and everything worked for me.

  • I want to combine pdf files.  How can I put seven files into one?

    I am trying to create a single file of 7 files... How can I do this?

    Combine the files in Adobe Acrobat format.

  • Combining the NACHA several files into one

    Gurus, we will implement the new file format NACHA for our payroll service. Payroll running a DOS command to concatenate several files into one .mf. Is there a way to Oracle to achieve the same?

    Database server
    ----------------------------------------
    RDBMS: 11.2.0.3.0
    Oracle Applications: 11.5.10.2


    Thanks, Naveen Gagadam.

    Published by: mascot of Oracle on May 30, 2013 10:26

    Vignesh Hi, I just went through our Installer and there are Consolidation defined for each payroll that we use. I think it is better the purpose of having a consolidation set. Could you tell me how to consolidate several salary mass as a whole or alternatively can add several wage masses on the fly (as parameters) for each race NACHA?

    Thanks, Naveen.

  • How to move the FILE from one place to another and keep "Indexing" have to move to the unknown location so you can't discover its full file path? Windows instructions provide information wrong re: how to do this!

    Make a bunch of audio files, placed in a folder on my desktop. Files initially sent to RealPlayer to burn, but when finished burning CD and went to read a CD, folder got seized by Media Player, 'Indexed' and disappeared from the office. I'm a relatively new computer user, and I need to learn more about file paths, how to view the path FULL of a file on my computer and how to type (create) full path when I need to. The "Indexing" feature seems to erase this lesson for me, and after having spent four hours trying to find Vista instructions on "How to move the file from one place to another", I gave up! Windows 'Help and Support' on my computer gives wrong directions. It states that if I right click on a folder > properties, a dialog box opens with a tab by which I can move my account. There is no tab location here. I found locations tab when right click on the "Mobile" folder, but still no option to "move file". No idea what is the folder "Roaming" or why it's on my computer. I want my audio files in the My Music folder, but this place is "access denied." Don't know how to get the audio file it in any case, but if anyone has any advice, I would be very happy! Thank you. PS - I had no problem moving folders in XP. I don't like the idea that a computer is to decide where to put my files. I want to control where I put my files. I don't like the way search works under Vista. I liked the XP search companion better because, for a computer fool like me, it was really easy to organize and find files and folders and had an option specific to find audio and video file TYPES.

    Here is an article on how to move your personal folders in Vista: http://www.howtogeek.com/howto/windows-vista/moving-your-personal-data-folders-in-windows-vista-the-easy-way/.  If you're talking about the special folders (such as photos, Documents, office...), then here is an article on how to move: http://www.winhelponline.com/articles/95/1/How-to-move-the-special-folders-in-Windows-Vista.html.

    If you have trouble with the search after you move the files, then rebuild the index: http://www.tech-recipes.com/rx/2103/vista_rebuilding_the_search_index/.  Here is an article on how to use Indexing Options in Vista that may be useful for you: http://www.vistax64.com/tutorials/69581-indexing-options.html.

    If the above does not help, your problem seems to relate to the image of the files/folders and their interactions with Media Center (which operate on different other folders).  Please repost your question in images and video Forum at: http://social.answers.microsoft.com/Forums/en-US/vistapictures/threads where the people who specialize in issues of the image will be more than happy to help you with your quesitons.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How and why does a file name as 20160312103251.m2ts becomes 0003.mts?

    How and why does a file name as 20160312103251.m2ts becomes 0003.mts?

    How to make the .m2ts in a .mts?

    Hi HiView,

    .Mts and .m2ts file extensions is not a real difference as these two are associated with AVCHD files. The file extension can differ depending on how you import the files on your computer. Files that are imported by drag and drop, or transfer them without using PlayMemories House are registered as .mts files. While those who are copied using PlayMemories House are read as .m2ts files. You can change the file extension and also rename the whole file, clicking on the video, then select Properties. The file name and other data will appear to the right of the window. You can then rename or change the format of file through this tab.

    If my post answered your question, please mark it as "accept as a Solution. Thanks_Mitch

Maybe you are looking for