Automation: Howto swap two areas in one Alpha Channel

Dear Forum members,
another question. I have an Image with some alpha channels. In my automation plugin i need to exchange two areas in one alpha channel. At the moment i'm trying to cut one area, move the other area to the place of the first and then paste the first area at the location of the second one. Is this the optimum way of doing? Or is there something smarter / faster ?
Regards, Christof

For the moment (because i'm too lazy to extend my hidden plugin right now) i've realized it from the automation plugin without any additional channels: Cut area 1, move area 2 to area 1, paste area 1 at the position of area 2. This should also be pretty fast, because Photoshop is doing all the work for me.

Similar Messages

  • Automator or Applescript using png files with alpha channel

    I have hundred of png files with alpha channel.
    I want to suppress alpha channel.
    How can i do it using Automator or Applescript ?
    Thank you very much.

    You can use the free command line image processing tool ImageMagick in your Applescripts or Automator workflows, as well as from a Terminal shell.
    You can download ImageMagick from http://www.imagemagick.org, but Cactuslab has simplified installation by putting together an installer package. It’s available at  http://cactuslab.com/imagemagick/. Download the package and double-click on it. Follow the instructions to install. It will install ImageMagick into /opt/ImageMagick and add it to your $PATH by creating a file in /etc/paths.d/. Restart your computer for the changes to take effect.
    The two ImageMagick commands we’re concerned with are “convert” and “mogrify”. Convert is more efficient for multiple and piped operations on the same image file, and mogrify is more efficient for batch processing. Generally speaking, convert will output a file separate from the input file. Unless a path is specified, mogrify will overwrite the input file with the output file. An important distinction.
    You can perform various operations on the alpha channel using arguments after either the convert or mogrify command. Two of the available arguments are:
    -alpha off - Disables the image's transparency channel. Does not delete or change the existing data, just turns off the use of that data.
    -alpha remove - Composite the image over the background color.
    Also of use are the -flatten and -background options:
    -flatten - overlay all the image layers into a final image and may be used to underlay an opaque color to remove transparency from an image.
    -background - sets the background color.
    Start off using the convert command with a single image to see the effect and adjust to your liking. Once you’ve achieved the desired outcome, then use the mogrify command to batch process the chosen images.
    Before getting into how to use Automator or Applescript in your workflow, use Terminal and the command line to see the effect on a single image. Copy one image to your ~/Desktop. In Terminal change the directory to ~/Desktop by typing the following command and pressing the Enter key:
    cd ~/Desktop
    Then choose the option you are looking for, -alpha remove for instance, type the following command and press the Enter key:
    convert input-photo.png -alpha remove output-photo.png
    You can check the alpha channel (transparency) and background in the Preview app, go View > Show Image Background from the menu bar.
    Once you’re ready to batch proces, place all the photos you want to convert with the same command into one folder. Copy the folder to your ~/Desktop. Let’s assume you’ve labeled the folder “InPhotos”. It’s prudent to manipulate copies in case something goes amiss. In that event you can copy the folder with the originals again and start over. Create a new empty folder on your ~/Desktop and call it “OutPhotos”. Let’s also assume your home directory is called “Me”. The following command will process the photos from the InPhotos folder and put them in the OutPhotos folder:
    mogrify -alpha remove -path /Users/me/Desktop/OutPhotos/ /Users/me/Desktop/InPhotos/*png
    According to Apple Technical Note TN2065:
    "when you use just a command name instead of a complete path, the shell uses a list of directories (known as your PATH) to try and find the complete path to the command. For security and portability reasons, do shell script ignores the configuration files that an interactive shell would read"
    So, you need to use the full path to to ImageMagick commands, unlike in the shell where you can just use the command name.
    To batch process using Automator, use the “Run Shell Script” action (note: retain the single space at the beginning of the last line):
    /opt/ImageMagick/bin/mogrify \
    -alpha remove \
    -path /Users/Me/Desktop/OutPhotos/ \
    /Users/Me/Desktop/InPhotos/*png
    To batch process using Script Editor (Applescript), use the “do shell script” command:
    do shell script "/opt/ImageMagick/bin/mogrify -alpha remove -path /Users/pd/Desktop/OutPhotos/ /Users/pd/Desktop/InPhotos/*png"
    Further info on ImageMagick:
    http://www.imagemagick.org/script/command-line-options.php#alpha
    http://www.imagemagick.org/Usage/masking/#remove
    http://www.imagemagick.org/index.php
    http://www.imagemagick.org/script/command-line-tools.php
    http://www.imagemagick.org/script/command-line-options.php
    Examples:
    The original PNG image:
    -alpha off:
    -alpha remove:
    -background black -flatten:
    -background blue -flatten:
    -channel alpha -evaluate Divide 2:
    -channel alpha -evaluate Divide 2 -background black -flatten:

  • Tiled images are acting odd (Alpha Channel seems to be problem)

    Still working on the project that is giving me all sorts of...learning exercizes. (see http://discussions.apple.com/thread.jspa?threadID=463667&tstart=0)
    I thought I had everything worked out, but am having the oddest problem lately. When I put the image together, things look great until 3/4 of the pieces are in place...then all of a sudden a portion of one picture will appear in a band in another picture). Here's what I've done:
    I used ImageReady to divide the image (exported from the original footage via Quicktime in a variety of ways...interlaced and then deinterlaced in Photoshop...progressive...) into 25 pieces (5X5 grid). I imported the 25 pieces into Motion and changed the pixel aspect ratio to NTSC D1/DV (I also tried doing it w/Square pixels) and placed the pieces one by one into a standard NTSC DV Motion project. Problem is, as I said, out of the blue the image will shift.
    I've tried all sorts of things and they all kind of work. If I change the alpha channel it will work...for a while. If I change the field order it will work...for a while. And when I say 'for a while' I mean it will look like it's all fixed...and then out of the blue WHAM! I'll adjust the settings of one of the pieces to something that has worked before and it will go crazy again.
    Basically, the only way I've been able to get it to work is to change some of the pieces to Field Order lower (and change the Field Order of the project to "none") but not all of them. If I do it kind of randomly to pieces that are not working, it seems to be fine.
    Any idea what is causing this???

    The final image (and the project) are both 720X480. Same as the raw footage. (although....when I open the raw footage into Quicktime, it seems to be square pixels, as it is wider than the 720X480 movie that I'm linking to you here: I uploaded a .mov version of the Motion project, which just got done being processed/imported into DVDSP).
    http://www.jonathanfrank.com/intro2.mov
    Here's the weird thing...it looked fine in Motion! I re-created it from scratch and it seemed to work fine. I exported via Quicktime the images (used Animation setting, as it seemed to give a clearer shot). I opened the images in Photoshop, reset the Pixel Aspect Ratio to .9 (DV), cut and pasted the image to a new Photoshop document/image (the NTSC DV Menu template), exported the image into ImageReady, sliced it into a 5X5 grid, Save Optimized it as png images, imported the images into Motion, set the Pixel Aspect Ratio to .9 again (for some reason ImageReady seems to have deleted that step), and re-created the project.
    And it seemed to work. I didn't get any of the 'banding' or 'sending some of column A to column B' that I did when creating it before. Everything seemed to work (except for when I cut and pasted the background Replicator from the old project to the new to save time...then I got the weird effects...which vanished when I reverted to the saved older version and didn't occur again when I inserted the Replicator into the layer from scratch).
    The field ratio of the images I kept at 'none.' the field ratio of the project is "lower" (I have played with other settings previously, and making them match didn't do anything...and since it was seeming to work this time, i didn't want to mess with anything that didn't seem broken). BIt depth is 8. Frame rate on the project is 29.97, and it reads 30 on the Media tab for the images (once again, since it appeared to be working...)
    Just played it in Motion and it still seems to be working (plays very slowly but I got through the first series of images w/o problems).
    Might try to export it from Motion in the morning (but importing the problem one into FCP showed the same problems, even before rendering).
    But if you have any suggestions...
    IMac G5   Mac OS X (10.4.2)  

  • Are Quicktimes with alpha channel gone in Keynote 6.0?

    Say it aint so. This is a very crucial feature of the app for my company.

    While presenting from an iOS device is certainly useful, I want to be able to do the best presentations possible. Looks like Keynote 5.3 will be the tool of choice for some time yet.
    Keynote 6, while a step forward for maybe 99% of users (that don't want to care about what works and what doesn't on various platforms), is a major leap backwards for the professional presentation business.
    Time for Apple - or perhaps better yet, some third party - to make a Keynote Pro and make it desktop only, if that's what it takes. Bring back the larger choice of transitions, support for QuickTime alpha channels and dynamic Quartz Compositions, interaction with master slide objects and mixing of themes in the same presentation. And don't stop there:
    Add parallell layers or tracks, so that some visuals or audio can play uninteruppted over several slides.
    Add dynamic inputs, so a text and media fields can be populated by tweets or other RSS feeds.
    Add a proper theme editor, so you easily can change various defaults and maybe add custom border styles and stuff.
    Make the presenter's display more flexible, and allow for (simple) editing of slides while running the show.
    Phil Schiller may have the time and resources to let 3D animators render full frame wow!-inducing movies-as-transitions, but isn't it better to have more power within the application itself? And with Keynote 6, some of that power is gone.
    Maybe it'll be like with FCP X, where some of the lost features of the previous version got added back in an update. But as with anything Apple, who knows?

  • Two selects in one communication channel?

    Hello everybody,
    is it possible to select two different DB-tables with ONE JDBC communication channel?
    Thanks a lot
    Regards Mario

    Isn't it possible to take the STATEMENT-Tag twice?
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_MYMESSAGETYPE xmlns:ns0="http://xyz">
       <<b>Statement1</b>>
          <db_crm_transfer action="SQL_QUERY">
             <access>select * from <b>t1</b>, </access>
             <key>
                <object_key hasQuot="0">99</object_key>
             </key>
          </db_crm_transfer>
       </<b>Statement1</b>>
       <<b>Statement2</b>>
          <db_crm_transfer action="SQL_QUERY">
             <access>select * from <b>t2</b>, </access>
             <key>
                <object_key hasQuot="0">99</object_key>
             </key>
          </db_crm_transfer>
       </<b>Statement2</b>>
    </ns0:MT_...>
    Regards Mario

  • Automation: Howto move the selected area to another place in the same channel

    Dear Forum members,
    in my automation plugin i want to move some area from an alpha channel to somewhere else in the same alpha channel. As a user i select an area, call the move tool (the v key) and move it to the destination. Listener.log tells me that this is an ' eventCut' with some parameters. I clean-up the code a little bit and get this:
    >
    SPErr MoveSelection (double DistanceX, double DistanceY)
    PIActionDescriptor descriptor = NULL;
    PIActionReference reference = NULL;
    PIActionDescriptor descriptor2 = NULL;
    PIActionDescriptor result = NULL;
    SPErr error = kSPNoError;
    error = sPSActionDescriptor->Make (&descriptor);
    if (error) goto returnError;
    error = sPSActionReference->Make (&reference);
    if (error) goto returnError;
    error = sPSActionReference->PutProperty (reference, classChannel, keySelection);
    if (error) goto returnError;
    error = sPSActionDescriptor->PutReference (descriptor, keyNull, reference);
    if (error) goto returnError;
    error = sPSActionDescriptor->Make (&descriptor2);
    if (error) goto returnError;
    error = sPSActionDescriptor->PutUnitFloat (descriptor2, keyHorizontal, unitPixels, DistanceX);
    if (error) goto returnError;
    error = sPSActionDescriptor->PutUnitFloat (descriptor2, keyVertical, unitPixels, DistanceY);
    if (error) goto returnError;
    error = sPSActionDescriptor->PutObject (descriptor, keyTo, classOffset, descriptor2);
    if (error) goto returnError;
    error = sPSActionControl->Play (&result, eventCut, descriptor, plugInDialogSilent);
    if (error) goto returnError;
    returnError:
    if (result) sPSActionDescriptor->Free (result);
    if (descriptor) sPSActionDescriptor->Free (descriptor);
    if (descriptor2) sPSActionDescriptor->Free (descriptor2);
    if (reference) sPSActionReference->Free (reference);
    return error;
    This gives no error, it even removes the selected area from the document, but puts it in neverneverland, instead of moving it e.g. 100 pixels to the right (DistanceX == 100.0).
    What am i doing wrong ?
    Regards, Christof

    Dear Forum members,
    I had forgotten to select the correct channel, so please ignore my previous posting. The posted code is working as it should.
    Regards, Christof

  • How should I edit an alpha channel after saving?

    I have a series of files in which I improperly modified the selection set prior to saving the selection, and now around the intended viewable area there is a hazy artifact that seems to correspond to where I manually edited the selection using Quick Mask (prior to saving).
    In other words, within the area of the alpha channel that should be invisible, there is actually a visible, unwanted grey-ish artifact, and I think it's related to how I was using the brush to edit the selection in Quick Mask before saving.
    Now I am unable to edit the alpha channel, although Adobe's own website says that in order to edit an alpha channel, all I need to do is select the alpha channel (which I am doing) and then paint at 100% black or white with a brush to either include or exclude parts of selection set.
    When I choose the brush and start painting at 100% black or white, nothing happens and I can't figure out what is happening.
    Any help would be greatly appreciated.
    The exact steps that I'm taking are below:
    1) click on alpha channel (visible and ready for editing), all other channels only visible not active.
    2) selecting the brush at either 100% black or white
    3) attempting to paint to alter the alpha channel (I've tried painting on the actual alpha channel in Channels, and I've tried painting on the alpha channel as it appears in Layers, and neither works for me).
    CLARIFICATION:
    I actually am able to "edit" the alpha channel HOWEVER I cannot remove the hazy artifact. I can use 100% black or white to remove the pink/light red areas on either the actual alpha channel (in the Channels area) or as it appears in Layers, but I cannot remove the areas that are grey-ish (well I can paint them white but I can't paint them black, i.e. fully pink).
    A teacher showed me a quick fix process that basically involves activating the alpha channel, inverting the selection, and then deleting everything outside of the alpha channel, and then resaving the file. That worked at one point, but now that quick fix is not working either (I am just ending up with a completely visible, white space around the intended visible area, rather than an invsible area).
    EDIT (07:22 3.20.13) Also, if you look at what Photoshop is registering as the actual alpha channle, it doesn't match with what I'm seeing above, that is the black and white alpha channel appears to be as expected, and there is not the weird distortion that I'm seeing above in the pink/grey image.
    So I am super confused and would appreciate any help!

    I greatly appreciate your help with this.
    However, after adjustting the black from 99 to 100%, and double checking that the white is fully zero (right now I can't find any files with the white set to anything but "0," so I don't know why some of my screenshots showed that), I am still unable to use black to contract a selection, or white to erase unwanted areas of the alpha channel (this specific post's problem).
    So, I'm completely baffeled and am wondering if there is anything else that could be accounting for these results (i.e. the black and white paint not producing the expected results).
    Thanks again,
    dk
    EDIT:
    I attempted to make another alpha channel, this time without any manual adjustment of selection via the paint brush. Instead, I used the selection modification option of Contract and used it to contract the selection.
    SAME problem. The area that I contracted using Contract, (never painted), is once again displaying a slight grey artifact in the area that is supposed to be completely transparent.

  • BitmapData masking: how to merge 2 alpha channels?

    How can I apply an alpha mask from one bitmapdata to another? In other words, I want to merge the alphas, not simply copy one alpha channel to another bitmap.
    Here's an illustration:
    Notice that both the triangle and the ellipse have alpha channels, and the result is an intersection of these alpha channels. The RGB channels from the second image are used, and discarded from the first.
    I've looked into using BitmapData/merge(), draw(), copyChannel(), but they don't seem to do what I want. Anyone?
    Cheers.
    -Aaron

    Aha, looks like the answer was right under my nose: copyPixels() can do exactly this:
    If you include the alphaBitmap and alphaPoint parameters, you can use a secondary image as an alpha source for the source image. If the source image has alpha data, both sets of alpha data are used to composite pixels from the source image to the destination image. ThealphaPoint parameter is the point in the alpha image that corresponds to the upper-left corner of the source rectangle. Any pixels outside the intersection of the source image and alpha image are not copied to the destination image.
    Cheers.
    -Aaron

  • I have an iPhone 4, My itunes are from two differnt accounts; one from when I was under my dads account, and the other is my own. My question is would I be able to sync and update my itunes on my MacBook without having all the new music erased.

    I have an iPhone 4, My itunes are from two differnt accounts; one from when I was under my dads account when i was younger, and the other is my own which i currently use. My question is would I be able to sync and update my itunes on my MacBook without having all the new music erased. I have the icloud on my phone, but I just want to update my music on my laptop. Just nervous to, because it has happened to me before on a desktop computer  and it *****. Please help! Thanks.

    nevermind, i figuered it out

  • How can I restore my contacts, when I have two phpnes on one account? In icloud are the contacts of the first phone, and in my computer is the back up of my second phone

    How can I restore my comtacts from pc back up when I do have two phones with one account?the i cloud has contacts from one of the phones, and the pc back up from the other?

    Hi Silky-Milky!
    If I understand your question correctly, you are attempting to merge your contacts from your previous phone's backup into your iCloud account, then go back to using your new phone as normal, with the new merged database of contacts. I have an article that can tell you how to do exactly that:
    Recovering iCloud or MobileMe data from iTunes backups for an iOS device
    http://support.apple.com/kb/TS4108
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • HT4314 I have 4 iPads and one apple Id. Two the devices record clash of clans and dragonvale individually and the other two are tied to the other two. Drives my kids nuts. How do I fix this?

    I have 4 iPads and one apple Id. Two the devices record clash of clans and dragonvale individually and the other two are tied to the other two. Drives my kids nuts. How do I fix this?

    Also, I'd prefer to keep the same ID on both so I will keep access to my calendar/contacts/etc on both devices.  Would I be able to share reminders and voice memos and the like as well?  And how often would they update each other?  If I edit a contact on the 5, and the 4 is in wifi, assuming they're both on my same ID, will the contact update on the 4? 

  • I have two iPads and one iPod Touch and they are using iTunes on the same computer.

    I have two iPads and one iPod Touch and they are using iTunes on the same computer. I have not been able to backup the second iPad. Is there a reason this is happening? iPad one is an iPad 1 and the second is an iPad 2 not sure if this has something to do with it. I just tried to upgrade to IOS 5 and when it went to back up it gave me an error code (-5000). I tried to back up using iTunes and it told me that my backup was corrupted and to delete it and try to back up again. When I went into the device portion where I was instructed to go to delete the backup I found that there was no backup for my iPad just the iPad 1.
    I have synced many times and all of the apps, podcasts, music, etc... show up in iTunes, and iTunes recognizes that is is the second iPad but there is not a backup for it.
    Any Ideas?

    Read this:  How to use multiple iPods, iPads, or iPhones with one computer, http://support.apple.com/kb/HT1495

  • Is there a way to prevent ibooks author from shutting down after just one or two uses of the alpha tool?

    Is there a way to prevent ibooks author from shutting down after just one or two uses of the alpha tool?

    Hello One Job at a time,
    Deleting the application will not delete your projects.
    Normally I keep all my work files on a separate drive.
    If you command click on the title name of your project you will get a drop down path to show you the location of your book project.
    or you can click on the drop down triangle beside its name to duplicate.
    Just remember where you saved the file too.
    In your applications folder on your computer select the iBA icon and press delete and also erase / empty the trash can.
    You can then go back to the APP STORE and install iBA from new again.
    I hope this helps.
    Regards,
    Nigel

  • Unable to register one extract,but the other twos are ok.

    Enviroment:
    OS:Windows Server 2003 64bit
    GG:
    Oracle GoldenGate Command Interpreter for Oracle
    Version 11.2.1.0.6 16211226 OGGCORE_11.2.1.0.6_PLATFORMS_130418.1829
    Windows x64 (optimized), Oracle 11g on Apr 19 2013 17:38:40
    There are three extract on the same server.Now I'd like to register for the three extracts.The other twos are ok,but there is a one extract,meet the below error message:
    2013-12-22 21:43:50  ERROR   OGG-01755  Cannot register or unregister EXTRACT E_
    ZF_K because of the following SQL error: OCI Error ORA-00001: unique constraint
    (SYSTEM.LOGMNR_SESSION_UK1) violated
    ORA-06512: at "SYS.DBMS_CAPTURE_ADM_INTERNAL", line 453
    ORA-06512: at "SYS.DBMS_CAPTURE_ADM", line 289
    ORA-06512: at line 1 (status = 1). See Extract user privileges in the Oracle Gol
    denGate for Oracle Installation and Setup Guide.
    What should I do?And I also want to know the detailed cause of this error.Thanks in acvance!

    Hi,
    Ongoing DDL operations on the Oracle database do not allow the PL/SQL PackageDBMS_CAPTURE_ADM.BUILD to build the LogMiner Data Dictionary, as part of the GGSCI REGISTER EXTRACT command.
    NOTE: The DBMS_CAPTURE_ADM.BUILD procedure is the same as the DBMS_LOGMNR_D.BUILD procedure.
    exec dbms_goldengate_auth.grant_admin_privilege('USER_NAME');
    Connect to the Oracle database as SYSDBA  # sqlplus /nologin
    SQL> connect / as sysdba
    In the SYSDBA session, determine that there are no EXCLUSIVE DDL sessions.
    (Summary)  SQL> select mode_held, count(*) from dba_ddl_locks group by mode_held;
    (In detail)  SQL> select mode_held, name, type from dba_ddl_locks where mode_held = 'Exclusive' order by mode_held;
    (To identify a specific user process)  select l.name, l.type, l.mode_held, s.sid, s.program, s.username, p.spid, p.pidfrom dba_ddl_locks l, v$session s, v$process p where l.mode_held = 'Exclusive' and l.session_id = s.sid and s.paddr = p.addr;
    When there are no EXCLUSIVE mode DDL locks, re-run the GGSCI REGISTER EXTRACT command.
    In case this is not working then try for following steps,
    1. turn on sql trace
    2. identify SQL and its bind variables:
    declare
    extract_name varchar2(100) := :1;
    source_global_name varchar2(4000) := :2;
    firstScn number := :3;
    outbound_server_name varchar2(30);
    outbound_capture_name varchar2(30);
    capture_queue_name varchar2(30);
    queue_table_name varchar2(30);
    outbound_comment varchar2(125);
    BEGIN
    dbms_xstream_gg_adm.wait_for_inflight_txns := 'n';
    dbms_xstream_gg_adm.synchronization := 'none';
    dbms_xstream_gg_adm.is_goldengate := true; /* Construct the queue table name */
    queue_table_name := SUBSTR('OGG$Q_TAB_' || extract_name, 1, 30); /* Construct the capture queue name */
    capture_queue_name := SUBSTR('OGG$Q_' || extract_name, 1, 30); /* create capture queue */
    dbms_streams_adm.set_up_queue(queue_table => queue_table_name, queue_name => capture_queue_name); /* Construct the outbound capture name */
    outbound_capture_name := SUBSTR('OGG$CAP_' || extract_name, 1, 30); /* create capture specifying the first scn */ DBMS_XSTREAM_GG.SET_GG_SESSION();
    dbms_capture_adm.create_capture(queue_name => capture_queue_name,
    capture_name => outbound_capture_name,
    first_scn => firstScn,
    source_database => source_global_name); /* Construct the outbound server name */
    outbound_server_name := SUBSTR('OGG$' || extract_name, 1, 30); /* Construct the comment assosciated with this outbound server */ outbound_comment := extract_name || ' GoldenGate Extract';
    DBMS_XSTREAM_GG_ADM.ADD_OUTBOUND(server_name => outbound_server_name,
    capture_name=> outbound_capture_name,
    source_database=> source_global_name,
    committed_data_only => FALSE,
    wait_for_inflight_txns => 'N',
    synchronization => 'NONE',
    start_scn => firstScn,
    comment => outbound_comment);
    DBMS_XSTREAM_GG.SET_GG_SESSION(FALSE);
    END;
    3. run the sql manually under sqlplus.
    it hits:
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01502: index 'SYS.I_WRI$_OPTSTAT_TAB_OBJ#_ST' or partition of such index is
    in unusable state
    ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 746
    ORA-06512: at line 16
    4.
    SQL> select owner,status from dba_indexes where index_name='I_WRI$_OPTSTAT_TAB_OBJ#_ST';
    OWNER STATUS
    SYS UNUSABLE
    5.rebuild th index, but it did not help:
    alter index I_WRI$_OPTSTAT_H_OBJ#_ICOL#_ST rebuild;
    6. drop and recreate the index. Then the extract can be registered
    Thanks,
    GG Lover

  • Two Repetitive areas in one PLD

    Hi Experts
    I created a custom query and based on that i created a query print layout. Now in the PLD i have only one repetitive area, but i want to group this report first based on the account code and then based on the BP code and display the sub totals seperately.
    Can you all help me to complete this.
    Thanks & Regards
    Kanishka Wickrama

    Hi kanishka wickrama,
    Sorry Kanish, i thought normal PLD.
    Yes, you con not add the NEW Repetetive Area on QPLD. it is not possible on QPLD.
    so, try to assign the Sort by option.
    Note: All SELECT statement fields will be Stored and Display in Repetetive Area1. and
    Parameter Fields are in Repetetive Area0 so you can Try to Copy & Paste the Field_ID's to Repetetive Area Header (or) Repetetive Area Footer.
    for example.
    Try this,
    ->> Open the QPLD and Goto Field index Window, then
    ->> Select the Repetetive Area Header & Repetetive Area Footer increase the Height on Properties Window.
    ->> Create the Formula fields in Repetetive Area Header & Repetetive Area Footer.
    ->> Which Field you want to print in header or footer. Drag the Field ID(in Repetetive Area) Copy & Paste to Formula Field.
    ->> Select the Repetetive Area 1 on Field Index Window.
    ->> Goto the Print Layout Designer on Tool bar.
    ->> Click Repetetive Area. -> Sort...
    ->> Open the Sort Widnow and Select the Requrie fields by sort.
    ELSE Try this,
    ->> Click the Repetetive Area Footer 1.
    ->> then, Right Click in Repetetive Area Footer 1.
    ->> Choose the GROUP -> 1. then,
    ->> Create the Formula Fields in Repetetive Area Footer 1 and copy paste field ID's from Repetetive Area 1.
    ->> Select the Repetetive Area 1 on Field Index Window.
    ->> Goto the Print Layout Designer on Tool bar.
    ->> Click Repetetive Area. -> Sort...
    ->> Open the Sort Widnow and Select the Requrie fields by sort.
    Ex.
    ->> Select Field Name, Sort by, Order, Summary, New Page.
    1st you can Select Field Name (Sort by) -> Account Code, and
    2nd Select the  Field Name (Sort by) -> BP Code. and both are
    Sort Type - Alpha.
    Order -> Descending (or) Ascending.
    Summary -> Select the Tick Mark.
    New Page -> UnCheck the Tick Mark because if you need the second page Print of GROUP BY.
    You can select the Tick Mark in New Page.
    SAVE IT and see the Print Preview. it will be get exact Print. .
    Regards,
    Madhan.

Maybe you are looking for

  • AGP Slot Compatibility

    I own a K7T Turbo limited edition Mobo which is only version 2.0  4/2 X AGP, but I had just bought an FX5900 Ultra Graphics card b4 realising. As it is version 3.0 8/4/2X AGP, should I send it back for refund or is it possible to install and run it w

  • Want to know the Combo or button

    hi    I have confused with purchase order copy to button.In that Purchase Order screen i saw that <b>'Copy To' and 'Copy From'</b>. These are Combo Box or Button. under which name is avail. in the screen painter, in case if i am using coding, kindly

  • How to remove duplicates from a large external library

    I recently had a big HD snafu the result of which left me with 95,000 tunes, 53,000 of which should be there...the rest are duplicates.  I've tried Dupin but it's not working...I think the job is just too big.  Does anyone have any recommendations to

  • Best way to assign multiple users security, privileges and workbook shares.

    Is there another way to assign multiple users to a single workbook other than using the workbook management option. Something that can be done from the command line? How about assigning security and privileges from the command line?

  • Unity Upgrade - 4.0(5) to 7.0 Cobras and GSM - Internet Subscriber

    I am upgrading from Unity 4.0(5) to 7.0. I have the old and new Unity servers in the same AD domain. I ran cobras export, then migrated all users to the new Unity server using GSM. GSM doesn't appear to move Internet Subscribers and neither does cobr