Move cell contents forward/backwards by cell?

Hello,
Is there a way in InDesign to "shift" the contents of a table? Basically, I'm working on a calendar and the template by the designer was given to me and I now need to modify all the tables so dates are in the correct order, etc.
I can only image this has to be a basic function in any application using tables, but you never know...?
Thanks!
Kristin.

Hi Dave,<br /><br />1. Yep -- I didn't take the header row into account. Rodney, if you use the first version, it'll also shift the days-of-the-week at the top. Select that row and change it to a header. It's not necessary for your calendar, but that way the scripts can see where to start.<br /><br /><pre>var myTable = app.selection[0].parent;<br /><br />// Forward:<br /><br />firstBodyCell = myTable.headerRowCount*myTable.columns.length;<br /><br />for (i=myTable.cells.length-1; i > firstBodyCell; i--)<br /><br />{<br /><br />     myTable.cells[i].contents = myTable.cells[i-1].contents;<br /><br />}<br /><br />// Backward:<br /><br />for (i=firstBodyCell; i<myTable.cells.length-1; i++)<br /><br />{<br /><br />     myTable.cells[i].contents = myTable.cells[i+1].contents;<br /><br />}</pre>2. That's a tricky one. However, I don't believe it to be a problem, since the cells before and after numbered ones are empty.  The script does not try to 'loop around'. You will have to move the full month calender cells at the bottom right yourself, but you have to recreate these anyway.<br /><br />Obviously, you should not try to move backward if the first day falls on a Sunday (as in the February example on the site). In that case, either move forward 6 times, or insert an empty row above the days and run the backwards script. Similarly, if the last cell bottom right has a day number, insert a blank row below first.<br /><br />(I had a quick go at a JS where all you have to do is fill in the year and month, but that took a bit longer than I thought. It might be the most easiest way just to re-create the entire month. Dave?)

Similar Messages

  • Internet Explorer's forward/backward for next/previous image

    In addition to right/left arrow to move to next/previous image I would like LR team to add this keyboard shortcut:
    Use Internet Explorer's forward for next image.
    Use Internet Explorer's backward for previous image.
    Here is the reason. I have ViewSonic mouse with five buttons. Extra two buttons I use for forward/backward command within Internet Explorer. It would be nice if the same two extra buttons I could use in LR.
    At the moment I have the two extra buttons programmed to function as right/left arrow. That allows me to use them to go next/previous image in LR. In order to use them as a forward/backward command within IE I have to press Alt key.
    It would be nice if LR team could add IE forward/backward to the list of keyboard shortcuts.
    Best regards,
    Ivan Kmecko

    This is a function of the mouse driver...you should be able to configure settings based on the current application so LR and IE can use the same keys but it'll mean different things in each app.

  • LR 5 slideshow Mac - no forward/backward?

    LR 5.0 on a Mac (tried both Mac Mini, MacBook Pro and MacBook Air - all running 10.8.4).
    When I run a slideshow and pause it, the arrows keys to go backward/forward are not working.
    Created a "testuser" account (so no LR prefs that have been inherited) and copied over a test catalog.
    Same issue.
    Also installed it on work laptop where I've never used LR.  So no old "cruft" on account or inherited.
    Same issue.
    Is anyone else seeing this?
    Would be good to know if it's reproducible.

    Victoria Bamtpon figured out a workaround in another forum.  They've added a new checkbox in LR5 "Manual Slideshow" in the playback module.
    It means the slideshow doesn't advance by itself anymore but you can move forward/backward.  Not ideal by any means vs the prior behavior, but at least it gets me going again.
    Thank you Victoria!

  • How to move the contents of an itab from one class to another...

    Hello Experts,
    How can I move the contents of an internal table for a given class to another class.
    I want to transfer the contents of my internal table lt_vbak to another class
    which is lcl_get_docflow. Below is my code:
    REPORT  zsd_orderstage
            NO STANDARD PAGE HEADING.
    * Data Dictionary Table/s                      *
    TABLES: vbak.
    * Global Structure/s                           *
    TYPES: BEGIN OF t_output,
            salesgroup    type vbak-vkgrp,
            salesorder    TYPE vbak-vbeln,
            custcode      TYPE vbak-kunnr,
            shipto        TYPE likp-kunnr,
            creation_date TYPE vbak-erdat,
            created_by    TYPE vbak-ernam,
            delorder      TYPE likp-vbeln,
            invnumber     TYPE vbrk-vbeln,
           END OF t_output.
    * Global Internal Table/s                      *
    DATA: gt_output TYPE STANDARD TABLE OF t_output.
    * SELECTION-SCREEN                             *
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS:     p_kunnr TYPE vbak-kunnr OBLIGATORY.
    SELECT-OPTIONS: s_group for vbak-vkgrp,
                    s_auart FOR vbak-auart,
                    s_erdat FOR vbak-erdat  OBLIGATORY,
                    s_ernam FOR vbak-ernam.
    SELECTION-SCREEN END OF BLOCK b1.
    *       CLASS lcl_main DEFINITION
    CLASS lcl_main DEFINITION ABSTRACT.
      PUBLIC SECTION.
        TYPES: BEGIN OF t_vbak,
              vbeln TYPE vbak-vbeln,
              erdat TYPE vbak-erdat,
              ernam TYPE vbak-ernam,
              auart TYPE vbak-auart,
              kunnr TYPE vbak-kunnr,
              vkgrp type vbak-vkgrp,
             END OF t_vbak.
        TYPES: BEGIN OF t_vbfa,
                vbelv   TYPE vbfa-vbelv,
                vbeln   TYPE vbfa-vbeln,
                vbtyp_n TYPE vbfa-vbtyp_n,
               END OF t_vbfa.
        TYPES: BEGIN OF t_likp,
                vbeln TYPE likp-vbeln,
                kunnr TYPE likp-kunnr,
               END OF t_likp.
        TYPES: BEGIN OF t_vbrk,
                vbeln TYPE vbrk-vbeln,
               END OF t_vbrk.
        DATA: gt_vbfa     TYPE STANDARD TABLE OF t_vbfa,
              gt_likp     TYPE HASHED TABLE OF t_likp
                          WITH UNIQUE KEY vbeln,
              gt_vbrk     TYPE HASHED TABLE OF t_vbrk
                          WITH UNIQUE KEY vbeln,
              gt_delivery TYPE STANDARD TABLE OF t_vbfa,
              gt_invoice  TYPE STANDARD TABLE OF t_vbfa.
    ENDCLASS.                    "lcl_main DEFINITION
    *       CLASS lcl_get_so DEFINITION
    CLASS lcl_get_so DEFINITION INHERITING FROM lcl_main.
      PUBLIC SECTION.
        DATA: lt_vbak TYPE STANDARD TABLE OF t_vbak.
        METHODS: get_sales_orders
                    RETURNING
                       value(re_vbak) TYPE t_vbak.
    ENDCLASS.                    "lcl_get_so DEFINITION
    *       CLASS lcl_get_so IMPLEMENTATION
    CLASS lcl_get_so IMPLEMENTATION.
      METHOD get_sales_orders.
        SELECT vbeln erdat ernam auart kunnr vkgrp
          FROM vbak
          INTO TABLE lt_vbak
         WHERE erdat IN s_erdat
           AND ernam IN s_ernam
           AND auart IN s_auart
           AND kunnr = p_kunnr.
      ENDMETHOD.                    "get_sales_orders
    ENDCLASS.                    "lcl_get_so IMPLEMENTATION
    *       CLASS lcl_get_docflow DEFINITION
    CLASS lcl_get_docflow DEFINITION INHERITING FROM lcl_main.
      PUBLIC SECTION.
        DATA: lt_vbfa TYPE STANDARD TABLE OF t_vbfa.
        METHODS: get_subsequent_docs
                    IMPORTING
                       value(im_vbak) TYPE t_vbak
                    EXPORTING
                       ex_vbfa TYPE t_vbfa.
    ENDCLASS.                    "get_docflow  INHERITING FRO
    *       CLASS lcl_get_docflow IMPLEMENTATION
    CLASS lcl_get_docflow IMPLEMENTATION.
      METHOD get_subsequent_docs.
      ENDMETHOD.                    "get_subsequent_docs
    ENDCLASS.                    "get_docflow IMPLEMENTATION
    * Global Internal Table/s                      *
    START-OF-SELECTION.
      DATA: o_get_so      TYPE REF TO lcl_get_so,
            o_get_docflow TYPE REF TO lcl_get_docflow.
      CREATE OBJECT: o_get_so,
                     o_get_docflow.
      CALL METHOD o_get_so->get_sales_orders.
    What I want is to pass the records of lt_vbak to method get_subsequent_docs. How do I do this guys?Thank you and take care!

    .

  • On iOS 7.0.2 everytime I unlock my phone while my music is playing, it skips. Forward, backward, and by small and large amounts of time.

    On iOS 7.0.2 everytime I unlock my phone while my music is playing, it skips. Forward, backward, and by small and large amounts of time.

    Hi cowboyincognito,
    Thanks for visiting Apple Support Communities.
    If you don't have the option to play music by genre on your iPhone, try this step to find the Genre option:
    Browse your music library.
    You can browse your music by playlist, artist, or other category. For other browse options, tap More. Tap any song to play it.
    To rearrange the tabs in the Music app, tap More, then tap Edit and drag a button onto the one you want to replace.
    Best Regards,
    Jeremy

  • To extend a clip I have `Show Fine Tuning controls' turned on in my iMovie 11 preferences, but the blue forward/backward buttons don't appear.  To get the orange handle bar, is there a hotkey?

    To extend a clip I have `Show Fine Tuning controls' turned on in my iMovie 11 preferences, but the blue forward/backward buttons don't appear.  To get the orange handle bar, is there a hotkey?

    That's a comment in the file. It has no effect at all.

  • Move the contents of old file into another  before writing in applcn srvr

    Hi Friends,
    As per the requirement I need to move the contents of the previous file into an archieve folder which is being created by the previous run of the program in the application server.
    After the old file has been moved I need to craete the new file in the directory.
    So at any time only one file should be present in the application server.
    All the previous files will be in the Archieve folder.
    Please suggest how can I move the contents of the privious file in the archieve directory.
    Thanks and regards,
    Smriti Singh
    Please do not duplicate post
    Edited by: Rob Burbank on Feb 24, 2009 11:16 AM

    Hi Smriti,
    check this
    1) use the function module  'EPS_GET_DIRECTORY_LISTING' --- to gett the details of files n application dir
    eq.
    call function 'EPS_GET_DIRECTORY_LISTING'
        exporting
          dir_name               = p_file
        tables
          dir_list               = it_dir_list
        exceptions
          invalid_eps_subdir     = 1
          sapgparam_failed       = 2
          build_directory_failed = 3
          no_authorization       = 4
          read_directory_failed  = 5
          too_many_read_errors   = 6
          empty_directory_list   = 7
          others                 = 8.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    2) then use this code to archive
    open dataset w_file1 for output in text mode encoding default. "Open Backup File
      if sy-subrc <> 0.
        write: /1 ' error creating file with status - ', sy-subrc.
        exit.
      endif.
      open dataset w_dirname for input in text mode encoding default."Open Real File
      if sy-subrc <> 0.
        error_flag = 'X'.
        write: /1 ' error opening input file with status - ', sy-subrc.
        exit.
      endif.
    *" To read the input file into a internal table
      do.
        read dataset w_dirname into inrec_lpcfab.
        if sy-subrc <> 0.
          exit.
        else.
          if not inrec_lpcfab is initial.
            append inrec_lpcfab.
            transfer inrec_lpcfab to w_file1 length 180.
          endif.
        endif.
      enddo.
      close dataset w_dirname.

  • I can't get big forward/backward buttons

    I have always customized my Firefox browser (thats why I have always loved Firefox since back in version 1.x. However I noticed that Firefox is suddenly becoming less and less customizable and more and more frustrating. I have gotten it to where I want it (almost). For some reason my forward/backward buttons are stuck on small. When they are in the "Navigation Toolbar" they are nice and big, but they shrink in the "Menu Bar". They never did this in 3.6 or prior to 3.6, they always worked fine. I tried turning "Small Icons" on and off with no success.
    Here's what I mean:
    http://i1202.photobucket.com/albums/bb375/murdockx/ff5.jpg

    In edit mode, at concert level, select the pedal. Then in the screen control inspector, in the mappings tab, select actions>next patch.

  • Step Forward/Backward One Field

    Sadly, Avid Media Composer has been my daily editing tool (my place of employment is an Avid house). I started on FCP and freelance using my FCP machine... believe me, I would very much rather be cutting on FCP. Going from FCP to Avid is... well... an interesting and frustrating experience.
    However, AMC does has some useful features. One in particular is the "Step Forward/Backward 1 field."
    I searched the manuals and the FCP shortcut tool, but I don't really see anything similar-- unless I'm totally missing something. Does FCP have such a feature?
    Thanks a bunch.
    Message was edited by: Anthony Tutrone

    You know what, unfortunately even that doesn't really work ... when the playhead is still FCP only ever displays the Upper Field in the Canvas +unless the canvas is set to 100%+. I once filed it as a bug but I am assured that this is how FCP was designed to work therefore it is not a bug. Go figure. If you add the Deinterlace Filter and tell it to remove the Upper Field you'll still see the upper field when the playhead is paused in the timeline, although It does correctly remove the Upper Field during playback and when rendered. The only workaround I'm aware of is to set the zoom level of the canvas window to 100%, at which point both fields are visible, and any field based effects are properly displayed.

  • Backward- Forward  and Forward- Backward

    Hi, all!
    Can you explainfor me about +Backward- Forward  and Forward- Backward+ in General Setting-> Inventory tab-> Planning.
    I don'nt understand it, can you make clealy
    Thank you!

    Hi....
    Consumption Method – there are two available methods of forecast consumption
    by the Sales Order:
    • Backward- Forward – In this method, the Sales Order first goes
    backwards to 'consume' the forecast which is closest to the Due Date of
    the order and continues to the first day of the range if required (as
    defined in Days Backward field below),
    After that, if no forecast is found (or the forecast, which was consumed,
    was insufficient) the Sales Order goes from the Order's due date and
    forward (see an example below).
    • Forward- Backward - In this case the sales order goes forward to
    'consume' the forecast which is closest to the Due Date of the order and
    continues up to the last day of the range if needed (as defined in Days
    Forward field below). After that, if no forecast is found (or the forecast,
    which was consumed, was insufficient) goes from the Order's due date
    and backward.
    Days Backward - Defines the maximum number of days for the Sales Order to go
    backwards in order to 'consume' the forecast.
    Days Forward - Defines the maximum number of days for the Sales Order to go
    forward in order to 'consume' the forecast.
    If you are not yet understand you can search in SAP Portal a note that related to that.
    Or if you want, you can send me your email address and i will send you the PDF file about MRP.
    It has complete explanation for you to know.
    Regards,
    Lina Yuanita

  • Forward / backward consumption Logic ( Macro) in DP Planning book

    Hi ,
          i need to have Forward / backward consumption Logic ( Macro) in DP Planning book .
    For example- say i have keyfigure - A , B.  Kefigure B need to consume the value of keyfigure A ( forward/ backwrd)  in DP planning book .
    Is there any std  MACROfunctionality to do this? 
    If NO. how we can write macro for this requirement ?
    Regrds
    Rajesh

    Hi Aparna & desai,
              Macro function - DEMAND_CALC( ACT_PRODUCT ; ACT_LOCATION ; ACT_VERSION ; ) will work only when we manintain product master with version and if we work in that same planning version. means every time it will go and refer product master setttings of 1) strategy 2) forward consumption days 3) backward consumtion days. So its more usful in SNP planning book.
    But i am working in DP planning book and version which i am working is  not involved in product master. so i hope this function will not work.
    Is there any otherway  to achive this with time series keyfigure . what logic i can use for macro?
    Regrads
    Rajesh

  • Move back and forward through Quiz questions...

    Hello,
    I need to be able to let individuals move back and forward through quiz questions after they have answered them without the need to re-answer the question.
    Does anyone have any suggestions on how I could do this in Captivate 6.
    Thanks,

    Thanks for the reply!
    I should have been a bit more specific and provided an example...
    Question 1 and 2  are answered correctly and feedback box is shown each time - they then get stuck on question 3 so need to use the back button to go back through past the answered questions to the main information screens to find the answer and then need to use the forward navigation button to move back to the third question this will result in them moving through question 1 and 2 however we do not want them to answer these again.
    The individual must answer every question correctly to pass the course.
    Thanks,

  • Move KM content using CTS+

    Hi,
    We are looking to move portal content using CTS, now we know that we can move EPA files without any problem and also we know that the CTS documentation for portal mentions that :
    "Documents and configurations of Knowledge Management and Collaboration (KMC) are not part of the CTS+ concept at the moment. Mechanisms for supporting KMC are planned for the future. Documentation will be provided."
    Anybody know when this will be supported? and if there is anyway to make it work within the current support  package level SP12.
    Thanks in advance for your help,
    Zareh Vazquez

    Hi Zareh,
    this is coming in SP13.
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/7217

  • Is there a way to move "back" and "forward" through the Library?

    Is there a way to move "back" and "forward" through the Library?
    For example, I'm editing Symbol_1, then I move to Symbol_22. Now to get back to Symbol_1 I need to find it again in the Library and double-click on it. Is there a shortcut for that?

    No, but you can always use the library search option to widdle down the number of items displayed. It'd be a good feature request as I find myself hopping between specific movieclip depths on common clips often. Sort of like a clip/depth bookmark.

  • Magic mouse forward backward swiping does not work from time to time

    Hello...
    from time to time the forward/backward swiping functionality of my magic mouse does not work (The scrolling works though). Disconnecting and reconnecting does not do the trick. So I guess it might be a software problem. Restarting the iMac does not always help at once. After a couple of times it will work though again.
    Can anyone help?
    Regards
    Bjoern

    your answer should be here.
    http://discussions.apple.com/thread.jspa?threadID=2211072&start=0&tstart=0

Maybe you are looking for

  • Session replication at every http request

    Hi everybody I'm trying to use ZKoss Framework (www.zkoss.org) to develop a web application and deploy it in a Clustered WebLogic Server. The main issue I'm facing is that the "state" of the visual interface is stored inside the http session, and so,

  • Importing Duplicates

    Hello, I am using Aperture with referenced file. I have recently imported new photos into aperture and stored the files in my referenced folder. I have the "do not import duplicates" box checked, however I am still shown around 36 files that can be i

  • ITunes keeps "configuring" - changed to "limited" user

    For purposes of increased security, I changed the XP account which I normally use from having "administrator" priveleges to having "limit" user rights. (I been an "administrator" when I last installed / updated iTunes). Now, every time I start up iTu

  • Add SSD to HPE h8-1287c

    Does/has any information adding a 256gb SSD to improve HD performance for this desktop? Thank you, Richard

  • TS2972 HomeShare issue

    2008 Mac Book Current iTunes Music stored on external Hard Drive. Ipad w/current software. Home Network: Verizon wireless router and internet My HomeShare won't fully connect. I get the notification on my iPad under Music>Other that my shared library