How to make a break in a program???

Hi,
Does someone know how to make a break (of 1 second, for instance) in a program ?
Thanks in advance, Fred.

Try with
Thread.sleep(1000); // sleep for 1000 ms

Similar Messages

  • How to make every break column on the top of the rows in the same subgroup

    hi, guys:
    I was wondering if anyone could help me on this problem: I need to set up a break column on a classic report (I ma required to use classic report only), and it works, but I do not know how to make every break column on the top of the rows in the same subgroup. The break column only stays on the left to the rest columns as it is the first column. Anyone could help me on this problem? Here is the query:
    select so.doc_number as "DOC Number", so.offender_id as "Offender ID", so.first_name||' '|| so.middle_name||' '||so.last_name as "Offender Name",
    (select sc1.description from sor_code sc1 where sc1.code_id=so.race) as "Race",
    (select sc2.description from sor_code sc2 where sc2.code_id=so.sex) as "Sex",
    replace(replace(nvl2(sl.address1, sl.address1||' '||sl.address2 ||' '||sl.city ||' '||sl.county||' '||(select sc3.description from sor_code sc3 where sc3.code_id=sl.state)||' '||sl.zip, 'No Known Address'),'#'),',') as "Address",
    (select sof.name||'   '||sof.phone1||'   '||sof.link from sor_offices sof where sof.office_id=sl.jurisdiction) as "Jurisidiction",
    decode(rox.habitual, 'Y', 'Habitual', '') as "Habitual",
    decode(rox.aggravated, 'Y', 'Aggravated', '') as "Aggravated",
    floor(to_number(sysdate-so.date_of_birth)/365) as "Age"
    from sor_location sl, sor_offender so, registration_offender_xref rox, sor_last_locn_v sllv
    where rox.offender_id=so.offender_id
    and sllv.offender_id(+)=so.offender_id
    and sl.location_id(+)=sllv.location_id
    and rox.status not in ('Merged')
    and rox.reg_type_id=1
    and upper(rox.status)='ACTIVE'
    and nvl(rox.admin_validated, to_date(1,'J'))>=nvl(rox.entry_date, to_date(1,'J'))
    and ((so.first_name is not null and upper(so.first_name) like '%'||upper(:P5_TF_FIRST_NAME)||'%') or (:P5_TF_FIRST_NAME is null))
    and ((so.last_name is not null and upper(so.last_name) like '%'||upper(:P5_TF_LAST_NAME)||'%') or (:P5_TF_LAST_NAME is null))
    and ((sl.address1||sl.address2 is not null and upper(sl.address1|| sl.address2) like '%'||upper(:P5_TF_ADDRESS)||'%')or (:P5_TF_ADDRESS is null))
    and ((sl.city is not null and upper(sl.city) like '%'||upper(:P5_TF_CITY)||'%')or (:P5_TF_CITY is null))
    and ((sl.county is not null and sl.county =:P5_SL_COUNTY)or (:P5_SL_COUNTY is null))
    and (((select sc5.description from sor_code sc5 where sc5.code_id=sl.state and sc5.description=:P5_SL_STATE) is not null )or (:P5_SL_STATE is null))
    and ((sl.zip is not null and sl.zip =:P5_TF_ZIP_CODE)
    or (:P5_TF_ZIP_CODE is null))
    union
    select so.doc_number as "DOC Number", so.offender_id as "Offender ID", so.first_name||' '|| so.middle_name||' '||so.last_name as "Offender Name",
    (select sc1.description from sor_code sc1 where sc1.code_id=so.race) as "Race",
    (select sc2.description from sor_code sc2 where sc2.code_id=so.sex) as "Sex",
    replace(replace(nvl2(sl.address1, sl.address1||' '||sl.address2 ||' '||sl.city ||' '||sl.county||' '||(select sc3.description from sor_code sc3 where sc3.code_id=sl.state)||' '||sl.zip, 'No Known Address'),'#'),',') as "Address",
    (select sof.name||'   '||sof.phone1||'   '||sof.link from sor_offices sof where sof.office_id=sl.jurisdiction) as "Jurisidiction",
    decode(rox.habitual, 'Y', 'Habitual', '') as "Habitual",
    decode(rox.aggravated, 'Y', 'Aggravated', '') as "Aggravated",
    floor(to_number(sysdate-so.date_of_birth)/365) as "Age"
    from sor_location sl, sor_offender so, registration_offender_xref rox, sor_last_locn_v sllv
    where rox.offender_id=so.offender_id
    and sllv.offender_id(+)=so.offender_id
    and sl.location_id(+)=sllv.location_id
    and rox.status not in ('Merged')
    and rox.reg_type_id=1
    and upper(rox.status)='ACTIVE'
    and nvl(rox.admin_validated, to_date(1,'J'))>=nvl(rox.entry_date, to_date(1,'J'))
    and ((so.first_name is not null and upper(so.first_name) like '%'||upper(:P5_TF_FIRST_NAME)||'%') or (:P5_TF_FIRST_NAME is null))
    and ((so.last_name is not null and upper(so.last_name) like '%'||upper(:P5_TF_LAST_NAME)||'%') or (:P5_TF_LAST_NAME is null))
    and ((sl.physical_address1 is not null and upper(sl.physical_address1) like '%'||upper(:P5_TF_ADDRESS)||'%') or (:P5_TF_ADDRESS is null))
    and ((sl.physical_city is not null and upper(sl.physical_city) like '%'||upper(:P5_TF_CITY)||'%') or (:P5_TF_CITY is null))
    and ((sl.physical_county is not null and sl.physical_county =:P5_SL_COUNTY) or (:P5_SL_COUNTY is null))
    and (((select sc5.description from sor_code sc5 where sc5.code_id=sl.physical_state and sc5.description=:P5_SL_STATE) is not null )or (:P5_SL_STATE is null))
    and ((sl.physical_zip is not null and sl.physical_zip =:P5_TF_ZIP_CODE) or (:P5_TF_ZIP_CODE is null))
    union
    select so.doc_number as "DOC Number", so.offender_id as "Offender ID", so.first_name||' '|| so.middle_name||' '||so.last_name as "Offender Name",
    (select sc1.description from sor_code sc1 where sc1.code_id=so.race) as "Race",
    (select sc2.description from sor_code sc2 where sc2.code_id=so.sex) as "Sex",
    replace(replace(nvl2(sl.address1, sl.address1||' '||sl.address2 ||' '||sl.city ||' '||sl.county||' '||(select sc3.description from sor_code sc3 where sc3.code_id=sl.state)||' '||sl.zip, 'No Known Address'),'#'),',') as "Address",
    (select sof.name||'   '||sof.phone1||'   '||sof.link from sor_offices sof where sof.office_id=sl.jurisdiction) as "Jurisidiction",
    decode(rox.habitual, 'Y', 'Habitual', '') as "Habitual",
    decode(rox.aggravated, 'Y', 'Aggravated', '') as "Aggravated",
    floor(to_number(sysdate-so.date_of_birth)/365) as "Age"
    from sor_location sl, sor_offender so, registration_offender_xref rox, sor_last_locn_v sllv, sor_alias sa
    where rox.offender_id=so.offender_id
    and sa.offender_id=so.offender_id
    and sllv.offender_id(+)=so.offender_id
    and sl.location_id(+)=sllv.location_id
    and rox.status not in ('Merged')
    and rox.reg_type_id=1
    and upper(rox.status)='ACTIVE'
    and nvl(rox.admin_validated, to_date(1,'J'))>=nvl(rox.entry_date, to_date(1,'J'))
    and ((sa.first_name is not null and upper(sa.first_name) like '%'||upper(:P5_TF_FIRST_NAME)||'%') or (:P5_TF_FIRST_NAME is null))
    and ((sa.last_name is not null and upper(sa.last_name) like '%'||upper(:P5_TF_LAST_NAME)||'%') or (:P5_TF_LAST_NAME is null))
    and ((sl.address1||sl.address2 is not null and upper(sl.address1|| sl.address2) like '%'||upper(:P5_TF_ADDRESS)||'%')or (:P5_TF_ADDRESS is null))
    and ((sl.city is not null and upper(sl.city) like '%'||upper(:P5_TF_CITY)||'%')or (:P5_TF_CITY is null))
    and ((sl.county is not null and sl.county =:P5_SL_COUNTY)or (:P5_SL_COUNTY is null))
    and (((select sc5.description from sor_code sc5 where sc5.code_id=sl.state and sc5.description=:P5_SL_STATE) is not null )or (:P5_SL_STATE is null))
    and ((sl.zip is not null and sl.zip =:P5_TF_ZIP_CODE)or (:P5_TF_ZIP_CODE is null))
    union
    select so.doc_number as "DOC Number", so.offender_id as "Offender ID", so.first_name||' '|| so.middle_name||' '||so.last_name as "Offender Name",
    (select sc1.description from sor_code sc1 where sc1.code_id=so.race) as "Race",
    (select sc2.description from sor_code sc2 where sc2.code_id=so.sex) as "Sex",
    replace(replace(nvl2(sl.address1, sl.address1||' '||sl.address2 ||' '||sl.city ||' '||sl.county||' '||(select sc3.description from sor_code sc3 where sc3.code_id=sl.state)||' '||sl.zip, 'No Known Address'),'#'),',') as "Address",
    (select sof.name||'   '||sof.phone1||'   '||sof.link from sor_offices sof where sof.office_id=sl.jurisdiction) as "Jurisidiction",
    decode(rox.habitual, 'Y', 'Habitual', '') as "Habitual",
    decode(rox.aggravated, 'Y', 'Aggravated', '') as "Aggravated",
    floor(to_number(sysdate-so.date_of_birth)/365) as "Age"
    from sor_location sl, sor_offender so, registration_offender_xref rox, sor_last_locn_v sllv, sor_alias sa
    where rox.offender_id=so.offender_id
    and sa.offender_id=so.offender_id
    and sllv.offender_id(+)=so.offender_id
    and sl.location_id(+)=sllv.location_id
    and rox.status not in ('Merged')
    and rox.reg_type_id=1
    and upper(rox.status)='ACTIVE'
    and nvl(rox.admin_validated, to_date(1,'J'))>=nvl(rox.entry_date, to_date(1,'J'))
    and ((sa.first_name is not null and upper(sa.first_name) like '%'||upper(:P5_TF_FIRST_NAME)||'%') or (:P5_TF_FIRST_NAME is null))
    and ((sa.last_name is not null and upper(sa.last_name) like '%'||upper(:P5_TF_LAST_NAME)||'%') or (:P5_TF_LAST_NAME is null))
    and ((sl.physical_address1 is not null and upper(sl.physical_address1) like '%'||upper(:P5_TF_ADDRESS)||'%') or (:P5_TF_ADDRESS is null))
    and ((sl.physical_city is not null and upper(sl.physical_city) like '%'||upper(:P5_TF_CITY)||'%') or (:P5_TF_CITY is null))
    and ((sl.physical_county is not null and sl.physical_county =:P5_SL_COUNTY) or (:P5_SL_COUNTY is null))
    and (((select sc5.description from sor_code sc5 where sc5.code_id=sl.physical_state and sc5.description=:P5_SL_STATE) is not null )or (:P5_SL_STATE is null))
    and ((sl.physical_zip is not null and sl.physical_zip =:P5_TF_ZIP_CODE) or (:P5_TF_ZIP_CODE is null))I set up "Jurisdiction" to be displayed as the first column in report attributes and set up the first column to be break column, under the "When displaying a break column use this format, use #COLUMN_VALUE# subs", I fill in "Jurisdiction".

    lxiscas wrote:
    Hi, fac586:
    I am sorry for not being able to provide project online oracle to ask the question as some of the data needs to be approved to release.You don't need to use the actual data. Create simple test cases using data from Oracle's sample schemas: SCOTT, OE, HR etc.
    I actually want something like this:
    Jurisdiction: Bartlesville Police Department, 918-338-4001, http://www.cityofbartlesville.org/departments/police/
    Smith , Carl Sherman      ......
    Smith , Tommy Nesby .....
    Jurisdiction: Canadian County Sheriff's Office, 405-262-4787, Fax - 405-422-2430
    Smith , Gabriel Ray      ...
    Smith , Michael Bert   ...I omit the sensitive data with ...
    but right now it shows as this way:
    Jurisdiction: Bartlesville Police Department, 918-338-4001, http://www.cityofbartlesville.org/departments/police/  Smith , Carl Sherman      ......
    Smith , Tommy Nesby .....
    Jurisdiction: Canadian County Sheriff's Office, 405-262-4787, Fax - 405-422-2430   Smith , Gabriel Ray      ...
    Smith , Michael Bert   ...Is that possible to show the data as the upper way?The best way to do this is using a report with a custom named column template as in this example. See the following threads for solutions to similar problems:
    <li>{thread:id=2402836}
    <li>{message:id=9816577}

  • How I make "dreamweaver mx 2004" default program

    How I make "dreamweaver mx 2004" default program that opens
    files such as .php, .htm, .asp etc ? default currently is
    "dreamweaver mx" ...

    In Windows.
    This can be done in any Windows Explorer panel or from the
    Control Panel..
    Open any folder in Windows, Click Tools/Folder Options then
    the File Types
    tab. Find the file type you want to change and change it...
    If you're using a Mac... don't know.
    "lse987" <[email protected]> wrote in
    message
    news:eifmsi$33u$[email protected]..
    > "If Windows, CONTROL PANEL, FOLDER OPTIONS,
    > On the File Types tab,"
    >
    > this in dreamweaver mx 2004 or in .... ? Be more clear

  • How to make a transport of ABAP Program to a QA environment

    Hi forum and sorry for my easy question, but i am a newby in ABAP
    How can i a transport an ABAP program to QA environment?... is the same machine only changes the mandant.
    Thnks
    Josue Cruz

    You need have transport request for ABAP program.
    Transport Request are two types :
    1.customizing
    2 work bench
    customizing - it is related to SPRO Transaction and Functional people will create Customizing request
    Work Bench Request - normally irt realeted to ABAP Develper. and all about SE38 Programs ,Data dictinary and so on..
    If you want to to release transport request ,then you need to use SE10 or SE09 Transaction.
    Goto SE10 and see ur transport request -.it will have sub request #
    Select Sub request #->overall check -Syntax check
    then Activate check
    then click on release dirctly button(Looks like Bus)
    activate
    now select main request and click on release directly button.
    check the status - by using transport logs at SE10 transaction,you need to have sy-subrc eq 0
    when you get sy-subrc eq 4 then you deleted something in ur program ,sy-subrc eq 8,sy-subrc eq 12 these all status of ur transport request.
    once you done then you need import to Tst Box,use STMS Transaction.
    Reward Points if it is useful
    Thanks
    Seshu

  • How to make pages a graphics layout program

    In the earlier version og Pages, you used to beable to choos wheater you wanted to use the program as a wordprosesser or a graphics layout program.
    How do you make this desigation in the new version of Pages.

    If you use the Help in the Help menu in your Pages you will find this
    Create a page layout document
    In page layout documents, every page is a blank canvas to which you can add text, images, shapes and other objects, and arrange them however you want. Some Pages templates are designed specifically for creating page layout documents.
    If you're using a word-processing template, you can convert it to a page layout document at any time, to have more flexibility in how you design each page. For example, to add text to a page layout document, you add text boxes and type your content in them. You can then layer text boxes with objects, which isn't possible in word-processing documents.
    Important: When you convert a word-processing document to a page layout document, any existing body text (text that's not in a text box) is deleted. If you want to save the body text, copy it before you convert the document, then paste it into a text box or another Pages document. Also, when you convert, all objects that are set to move inline with text (in the Arrange pane of the Format inspector) are deleted. All other objects are set to stay on the page and not move with text.
    Convert a word processing document to a page layout document
    You can covert a document at any time, but it's easiest to do it when you first open the word processing document template (for example, the Blank templates).
    Do one of the following:
    Choose File > Convert to Page Layout (from the File menu at the top of your computer screen).
    Click Setup inspector , click Document, then deselect the Document Body tickbox.
    To convert from a page layout document to a word processing document, choose File > Convert to Word Processing (from the File menu at the top of your computer screen).

  • How to make Exe file of java program

    how we can make the exe file of java programs. that can run independently of particuler JVM. like in VB we can create exe files.
    - early thanks

    Check this out:
    http://search.java.sun.com/search/java/index.jsp?qp=%2B
    orum%3A31&nh=10&qt=create+exe+file+program&col=javaforu
    s

  • How to make GB respond to a program change

    I'm using m-audio keystation 49e and I can get all the different instruments but I can't get Garagebend to recognize the instrument I'm playing, the musical typing function and the playback play it as #0 acoustic piano. I was messing around with it and may have accidentally pressed a button to make it work because I've got one track with timpanis that is working fine.

    I'm not sure I understand what you're asking - but GarageBand doesn't know about program changes. It's one track, one instrument. And it doesn't know what instrument you want it to play unless you select one.

  • How to make iPhoto the default photo program

    I belong to a photo sharing site where I upload photos. When I click "browse" at the site, iPhoto automatically opens and I can select and upload my photo. A friend with a new Mac does the same thing - clicks "browse," but iPhoto doesn't open.  I think she needs to somehow make iPhoto her default, but I can't figure out how to do that. 

    Do you mean to upload to the site?
    There are many, many ways to access your files in iPhoto:   You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
    (Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)
    You can access the Library from the New Message Window in Mail:
    There's a similar option in Outlook and many, many other apps.  If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    If you want to access the files with iPhoto not running:
    For users of 10.6 and later:  You can download a free Services component from MacOSXAutomation  which will give you access to the iPhoto Library from your Services Menu.
    Using the Services Preference Pane you can even create a keyboard shortcut for it.
    For Users of 10.4 and 10.5 Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    Drag and Drop: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    File -> Export: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    Show File:  a. On iPhoto 09 and earlier:  Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.    3.b.
    b: On iPhoto 11 and later: Select one of the affected photos in the iPhoto Window and go File -> Reveal in Finder -> Original. A Finder window will pop open with the file already selected.

  • Does the Autosave works in Excel , if not how to make it work in my program

    I am trying to autosave my excel file , my program is dumping data every minute and I am going to run my program for about 8 hours. I wanted a method where my file would be autosave. I can do this in Excel by selecting autosave. Has anyone used it before and how good is it or should I try to save it in my program. I am using LV 6.0 and using ActiveX method for Excel. Thank you.

    You may find it easier to programmatically call the Save method on your workbook to replicate the Autosave feature in Excel.
    The problems that you are experiencing may be down to the fact that the Autosave feature is an Excel Add In module and as such needs to be treated in a slightly different manner. In order to get access to the Add In, you need to manual load/install the necessary Add In when you open the ActiveX reference to Excel.
    In Excel 97, the tree is as follows:
    Application >> AddIns (Object & Collection) >> AddIn (Object)
    From here you can Add a new AddIn but must set its Installed property to True in order for it to be "fully installed". The (VBA) help file included with your release of Excel will provide further assistance in navi
    gating through to the appropriate methods and properties and more specific information regarding the loading and proper installation of Add Ins.
    Personally, however, experience has shown that it is far simpler to just manually save the workbook using the SaveAs/Save methods as and when required.
    Jeremy

  • How to make Collapsible scrren thru Report Program

    Hi Experts,
    I have a report program, In the selection screen i have 15 check box. But the requirement is we need 5 + 5 + 5 in a collapsible format.
    If the user clicks the left corner it should open the 5 check box.
    Anyone having the knowledge of this kindly share the logic so its easy for me to build the same.
    Thanx in advance.
    Mohana

    Hi try this...
    The code is for the radio button, but if you use this code with a button it will work for your issue.
    use        
            screen-INVISIBLE = '1'.
            istead of screen-input = 0.
    REPORT  ztest.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-003.
    *           Order Documents
    PARAMETERS: rb_view RADIOBUTTON GROUP gr1 DEFAULT 'X' USER-COMMAND ucomm,
                rb_ins  RADIOBUTTON GROUP gr1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-002.
    PARAMETERS:  pagente TYPE zzagente MATCHCODE OBJECT zagent_get MODIF ID sc1,
                 pdat_in TYPE crmt_posting_date MODIF ID sc1 DEFAULT sy-datum,
                 pdat_fin TYPE crmt_posting_date MODIF ID sc1,
                 pbud_om TYPE crmt_net_value_*** MODIF ID sc1,
                 p_datl TYPE crmt_posting_date MODIF ID sc3,
                 p_last TYPE crmt_net_value_*** MODIF ID sc3.
    SELECTION-SCREEN END OF BLOCK b3.
    SELECTION-SCREEN END OF BLOCK b1.
    AT SELECTION-SCREEN OUTPUT.
      PERFORM at_selection_screen.
    *&      Form  AT_SELECTION_SCREEN
    *       text
    *  -->  p1        text
    *  <--  p2        text
    form AT_SELECTION_SCREEN .
    IF rb_view = 'X'.
        LOOP AT SCREEN.
          IF screen-group1 = 'SC1'.
            screen-input = 0.
            screen-INVISIBLE = '1'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'SC3'.
            screen-input = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSEIF rb_ins = 'X'.
        LOOP AT SCREEN.
          IF screen-group1 = 'SC2'.
            screen-input = 0.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'SC3'.
            screen-input = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    endform.                    " AT_SELECTION_SCREEN
    Edited by: Menegazzo Marco on Sep 7, 2010 10:41 AM

  • How to make Mail break lines at X characters?

    Hi!
    Is there a way to have Mail automatically create linebreaks at a certain character length when composing an e-mail? It's a common request on many mailing lists to not send e-mails with longer lines than 80 characters.
    Please help!
    /roda

    A coworker has the same issue. When he sends to another colleague that uses the command line mail app in Linux, the Linux user only sees one long line for each paragraph.
    To (sort of) fix this in Snow Leopard, we created an Automator service that takes highlighted text, runs the Unix command line "fmt" command, and replaces the text with the wrapped text.
    To do the same, start Automator and select the Service template. The first line has:
    Service receives selected "text" in "any application"
    Leave the first item as "text" and either leave "any application" or change it to "Mail.app".
    Make sure Replaces selected text is highlighted.
    Next, click on the Utilities icon under Actions. Drag the "Run Shell Script" icon to the right pane. Replace "cat" with "fmt -s -70" to wrap lines at 70 characters and collapse whitespace (multiple spaces, tabs) into a single space. If you do not want to collapse the spaces, leave out the "-s". Use Save as to name the new service.
    Open System Preferences, select Keyboard and then Keyboard Shortcuts. Click on Services. Scroll down and find your new service. Click on the + at the bottom of the window. Select Application and choose Mail or all applications. Give it a name (I reused the same name as the service) and a shortcut.
    To use it, highlight the text and press the keyboard shortcut. The text should reappear wrapped at 70 characters. If you edit some more and the lines no longer wrap correctly, just run it again.
    Scott

  • How to make Lightroom the default photo program

    I don't seem to be able to push Aperture to one side. Nor will lightroom come up for selection when changing the screen display.

    Many thanks.
    What hasn't changed is screen display options IE
    When going to Personal Preferences > Personal>Desktop/Screensaver> I get
    iPhoto and Aperture to choose from plus what appears to be an edited version
    of Pictures but no sign of Lightroom.
    Any thoughts.

  • How to make a page break in numbers

    The only way I found to make a new page in Numbers was to make new rows down to where the page would break, but it's only letting me add a few new rows to the new page.  I'd like to know how to make a page break without just adding rows.

    Hi Yellowbox,
    Still I'm not convinced, it gives you indeed some advantages but this page break is a great fault.
    All the company is working on Apple, we try even to keep Microsoft away but what when you make a quote of several pages and have to make your lay out at the end, it is a pain in your xxx to make it well.
    We cannot make different tables for each page nor I want to make it in Pages with a Numbers table.
    Secondly, what do you do when you get a Excell offer that you want to bring to Numbers.
    It opens well but again, you need to make all the page lay out afterwards!
    Thanks for yoru reply.
    It won't change my mind about Apple and Microsoft but for timing earning I won't changes all Excel offers to Numbers anymore. Even if I do not want, it would take me less time to work it out in Excel.
    Our own offers will remain in Numbers ...
    It is a pity but time is so important nowadays!
    Nice week-end.

  • How to make use of values in calling program in a badi

    Hi
         I have a badi implementation. i need to make use of some values in the program in the BADI. how do i access values in the program in the BADI.
    Regards,
    Chaitanya

    You can try this:
    E.g (replace the table and program names with the one you need).:
      CONSTANTS: c_resbd(15) TYPE c VALUE '(SAPLCOIH)resbd'.
      FIELD-SYMBOLS: <fs_resbd> TYPE resbd.
      ASSIGN (c_resbd) TO <fs_resbd>.
    If this doesn't work try exporting the variables you need to memory from a field/user exit.

  • How to make a Java program that recognises a function of two variables...

    How to make a Java program that recognises a function of two variables to assign values to that?
    First I will give an example and then do the question.
    Ex1.
    We have any function, eg.y = x ^ 2 + 1 (read 'y' equals 'x' high to the square), a function of the second degree.
    To build the graph of this function attach values to 'x' to find the values of 'y'
    And thus mount the pair ordered (x, y) which represents a point on the Cartesian plane.
    Assigning values to 'x' 'we can build up a table that gives us the pairs ordered:
    We can use any numbers, but arfer interval [-3.3]
    X | y = x ^ 2 + 1
    -3 | Y = (-3) ^ 2 +1 = 10
    -2 | Y = (-2) ^ 2 +1 = 5
    -1 | Y = (-1) ^ 2 +1 = 2
    0 | y = (0) ^ 2 +1 = 1
    1 | y = (1) ^ 2 +1 = 2
    2 | y = (2) ^ 2 +1 = 5
    3 | y = (3) ^ 2 +1 = 10
    We then ordered the pairs:
    (-3.10), (-2.5); (-1.2), (0,1), (1,2), (2,5), (3,10)
    Tabem that can be represented by a table:
    X | y
    -3 | Y = 10
    -2 | Y = 5
    -1 | Y = 2
    0 | y = 1
    1 | y = 2
    2 | y = 5
    3 | y = 10
    Now I begin to explain my doubts.
    See this program:
    Ex2
    * To change this template, choose Tools | Templates
    * And open the template in the editor.
    Encontrando_o_valor_de_y package;
    * @ Author des Soldat Gottes
    Import javax.swing.JOptionPane;
    Public class (Main
    * @ Param args the command line arguments
    Public static void main (String [] args) (
    Int x, y;
    String x1;
    X1 = JOptionPane.showInputDialog ( "We have the function y = x + 1 \ n" +
    "Assign a value for 'x',"); / / receives a value for the function y = x + 1
    X = Integer.parseInt (x1); / / tranforma String in int
    Y = x + 1; / / receives the value of 'x' and calculates' y '
    JOptionPane.showMessageDialog (null, "The value of 'y' is: \ t \ t" + y);
    / / Displays the value of 'y'
    System.exit (0);
    We see that the program receives above a value for 'x' and replaces the function contained in the program, y = x + 1, and so is the value of the variable 'y'.
    In: x1 = JOptionPane.showInputDialog ( "We have the function y = x + 1 \ n" +
    "Assign a value for 'x',");
    The entry is a number and that number is assigned aa ja existing function in the (y = x + 1).
    The question is: would it be possible to come to a function?
    Ex: the program ask: DIGITE THE FUNCTION?
    The USUARIO DIGITARIA A FUNCTION ANY, TYPE: y = x ^ 2 +1
    The program would recognize the function and give numerical values to that function as Ex1, at the beginning of this text.
    And then to find the values of the x and y launch a table.
    It would be possible that?
    By invez of entering with a number so that the program sustitua a function ja existing as Ex2, seen above, entering with a function quaquer (type: y = x ^ 2 +1) for the program atribuisse values to that function and then create a table of values as Ex1.
    I hope it has been easier to understand my doubts now.
    Thank you for your attention!
    God bless!

    rafaelmenezes wrote:
    Thanks for the explanation, could understand what fly said.
    But as it applied to a program?
    How to create a program that recognizes that the entry coefficients?Are you asking about how to parse out the coefficients from the string "3x^4 + 4x^3 - 8x^2 + 5x^1 + 2x^0"? If you define the format to strictly follow that example, this should get you started:
    Strip out the spaces
    Split the String on "x^"
    That should give you [3, 4+4, 3-8, 2+5, 1+2, 0]
    Split each resulting String on "+ | -", preserving the operator as a token so you can apply the correct sign to the coeff.
    That should leave you with [3, 4, +, 4, 3, -, 8, 2, +, 5, 1, +, 2, 0]. Every other number is a coeff, the rest are the degrees.
    You can strip out the +, since those coeffs are already positive, and strip out the - after negating the following number. This is all assuming that you have to write this yourself. There is no doubt already a library or 5 out there that does this for you.

Maybe you are looking for

  • 5g iPod not recognized by iTunes

    Hello everyone, Merry Christmas I got a 5g 30gb iPod for Christmas this morning, and low and behold, IT WON'T UPDATE. I installed the program, restarted my computer, and hooked up the iPod. I went to open iTunes, and it wont open. Very strange......s

  • OracleAS MapViewer Bean

    Hello, I'm using the OracleAS MapViewer Bean in my JSP application. As said in the use guide, this Bean is used for all maps created during the current session. But for me, it's a problem because when I close a first map (with addPointFeature, addWMS

  • Kubuntu 14.04 + Lenovo X240 + Thinkpad Ultra Dock 90w - multiply display

    Operating system - Kubuntu 14.04 I have Lenovo X240 two Dell monitors connected to DP1 and DP2 of the Thinkpad Ultra Dock 90w. Now it works only in next modes: Two connected monitors works in clone mode (each 1920x1080). Two connected monitors works

  • Why does it keep telling me to restart in 32 bit mode?

    A yellow button appears with a notification along to top of the window below the different link tabs. It tells me it would be better in 32 bit mode. I click the button and firefox restarts.

  • Scan to PC Not Working

    Hello,  I have the HP Photosmart C4480 all in one printer. For some reason it will not scan anything to my computer. When I try to it will say "scanning" and then a scan error will come up. The HP Scan Pro isn't working correctly on my computer eithe