Monthly and Sub Total Calculations

Hey guys hope all of you are ok... I was wondering how is the Total monthly void and sub total fields are calculated in quotes > pricing screen? Both are read-only, and I wonder how a Siebel calculates these fields.


Thank you for your time,

Hello
Sorry can't help you with that. Siebel Tools receives over and repeatedly does not meet my uses too. Guess they want to do an audit of patience on users :)
Try to wait a while if you have little patience and if possible make a full get all projects on your development environment. There may be some issues with the details of the applet.

Thank you and best regards,
Yassine jegou

Tags: Oracle

Similar Questions

  • Sorting and grouping and Sub total

    Hello

    I'm looking for some generic advice here, not necessarily a specific technical recommendation.

    We have a requirement for about 15 reports/forms. The reports would be the same layout using the same sets of data, with the exception that they be sorted, grouped and Sub totalled differently.

    Use Adobe Livecycle, can you design a form and then control the behavior of sorting, grouping and Sub totaling somewhat (perhaps via the parameters passed to its interface)? We do not need to allow a user on these differences control.

    I know that something like this is pretty simple in tools such as Crystal Reports, but is possible and practical by using Adobe Livecycle? We probably want to avoid a solution that uses Javascript excessively complex and plentiful.

    We try to use Adobe for something, so it's not really meant?

    Thank you!

    You can render PDF forms during execution using XML as input. If you want to avoid the JavaScript code in the form of coding, you can do all the calculations before generating the XML file. In this scenario, I assume that you have the server software to view the PDF with the dynamic XML data during execution.

    Another option could be written the Java Script in the case of calculated fields to sort / group / total values. Since all your reports use the same provision, it is not so difficult to write code. Propably if you check the PurchaseOrder.xdp form that comes with your samples as well as the installation Designer do you a basic idea on how to calculate the values that you add more lines to the shape.

    If you still have questions, you can always contact me or the team on this forum.

    Thank you

    Srini

  • Total general (calculation) seems to be "1-step behind" Sub totals.

    Order form calculates OK from left to right (ie. quantity x price); Subtotals appear OK in the Grand Total, AND Grand Total does NOT save the newest item (eg. I come home from 4 items, but the total general records only the first 3) I may need to send a form of enlightenment. Thoughts?

    It's a problem of calculation of field command. You can set it in form editing mode, via

    The value more - field calculation order.

  • calculation of years, months and days

    Hello

    I have to calculate the duration in years, months and days between contract_start_date and contract_end_date

    for example: Contract_Start_Date = 17 November 2006 "and Contract_End_Date = January 21, 2008"

    Hello

    have you tried the function months_between? You get the number of months between the dates, years and months is easy.
    If you just truncates the result and we add_months with it and the date of departure, you can get a date from which you can get everyday simply by calculating the difference of the end date.

    Then
    years: = trunc (months_between (end_date, start_date) / 12);
    month: = mod (months_between (start_date, end_date), 12);
    days: = trunc (end_date - add_months (start_date, trunc (months_between (end_date, start_date)));)

    It should work

    Best regards
    Wolfgang

  • Get the number of days in a month based on the month and year of fields

    I have a column in my form which lists the days in a month. I want to configure a hidden field that calculates the total number of days in a month, based on the month and year of the field inputs. The number of days will determine what appears on the column. For example, if I put 4 months, and 2016 in the field of the year, I get 30 in the hidden field. Thus, on the column 'Day', I'll have numbers 1-30. Or if I put 2 months and 2016 in the field of the year, I get the 29 in the hidden field. If the numbers 1-29 appears in the column 'day '.

    Found this on some forum javascript code:

    //Month is 1 based
    function daysInMonth(month,year) {
      
    return new Date(year, month, 0).getDate();
    }

    //July
    daysInMonth
    (7,2009); //31
    //February
    daysInMonth
    (2,2009); //28
    daysInMonth
    (2,2008); //29

    I do not know how to convert this code in JavaScript to adobe and don't really know how to use it. All I know how to do is to configure the field values for the field month and year as variables. I am a novice programmer and would appreciate it really all the help I can get. Thank you in advance!

    The code seems to be JavaScript and runs as needed by using the JavaScript console.

    I would like to consider making more general code, so if you have a date string that includes at least the month and year we could just call the function and get the number of days for that month.

    The following script will calculate the number of days in a month, by using at least the month and year values can display the result on the JavaScript console and all of the value field for the field that has this code as the custom calculation Script.

    function daysInMonth (oDate) {}
    return new Date (oDate.getFullYear (), oDate.getMonth () + 1, 0) .getDate ();
    }

    nMonth var = this.getField("Month").valueAsString; get the value of month;
    nYear var = this.getField("Year").valueAsString; get the value of the year;

    Event.Value = "";

    If (nMonth! = "" & nYear!) = "") {}
    var MyDate = util.scand ("' / mm/yyyy ', nMonth +" / "+ nYear); convert to date object;
    var nDaysInMonth = daysInMonth (MyDate); get the number of days;

    Console.Open (); Open the JavaScript console;

    Console.clear(); clear the console;

    Console.println ("Days in" + nMonth + ":" + nDaysInMonth); show days in month;

    Event.Value = nDaysInMonth; Set the value of the field;

    }

  • Pedometer in health app inaccurate since ios10.02 update and followed by the month and the year disappeared. Why?

    I used the pedometer in the application of health that accompanies the iPhone6 for 18 months. I walk on a treadmill each morning for the same distance and time. The number of step was close enough for more than a year, but then I updated to ios10.02 and the count has been reduced by more than 2500 steps every day for the same duration of time and distance on the treadmill. He remained much lower now for two weeks. I also notice that the dashboard no longer offers a total annual and medium, or monthly. Is there a fix to come or was the unit off so much for the previous year?

    kjm2222 wrote:

    I also notice that the dashboard no longer offers a total annual and medium, or monthly.

    You can still access graphics monthly and annual. In the form of health data, press activity. Swipe to today. Tap measures. You will then see a graph and a bar with options to choose to see it in days, months, or year. This works with any metric system.

  • I want to collect rain for the day, month and year; Can what formula I use?

    I want to collect rain for the day, month and year; What formula or expression that I can use.

    I use a Rain Wise product that converts impulses to an analog value.  The rain wise device can be

    "the value measure up to 1", 5", or 10".  I will be setting the unit at 10 inches in increments of 0.01 inch.

    What I would do is at each time increments of signal I would consider it as 0.01 then after reaching

    a period of time a day or a month, back to zero.

    Need some advice on this problem.

    How about you, using a counter to count the number of times where the signal is less than 0.01?

    For example,.

    Counter.Count = signal<=>

    The total number of rain is

    Counter * 10 + signal

    Use TimeOfDay or TimeOfWeek to reset the counter.

  • Have used Windows Movie Maker very well for months and now it stops just to work

    OK, so I had a recent problem with Movie Maker. How original is that? For months and months I used it with only minor headaches. But I can't understand it and I spent hours to friction on this problem and the search for something. All Google tell me is to make sure that my files are in a format that is accepted! Duh! I use them very well until about a month ago.

    After months of works very well, many of my clips imported media (especially. AVI and others. WMV) has decided to stop working one day. The video will not play, but the sound is very good. I re-imported the videos just to be sure, but no luck... He would not even show a thumbnail after I imported the.

    Original title: what is the problem with WMM? Help, please!
    I tried to look at the files in Media Player and got a black screen with audio complete.
    I reformatted the. AVI files (using zamzar.com) in. Format WMV, but when I tried to import those, he would give me some nonsense. In any case, I tried to defrag my drive hard as someone suggested online (I have an old computer anyway) but I don't really think it helped.
    It could be a codec problem (I don't know what would have prompted such), the Enigma is that SOME of my clips will play in the preview, but they stop working as soon as I drag them on the timeline. And I found one. WMV file in one of my old projects that will play in the panel mounting.
    I even tried to save an unfinished project to my computer (16:9 aspect ratio, high quality NTSC). But I got an error message: "WMM cannot be saved to the specified location. Verify that the original source files used in your movie are still available, that the backup location is still available, and that there is enough available disk space, and then try again. "So I tried to save the recommended"best suited"on a blank CD and it always gave me this message
    I hope this info helps (I don't know what most of it means):

    Name of the operating system Microsoft Windows XP Professional
    Version 5.1.2600 Service Pack 3 Build 2600
    Dimension E521 system model
    System Type X 86-based PC
    Processor x 86 family 15 model 79 walk AuthenticAMD 2 Mhz ~ 2004
    BIOS Version/Date Dell Inc. 1.0.3 02/10/2006
    SMBIOS Version 2.4
    System directory C:\WINDOWS\system32
    Boot Device \Device\HarddiskVolume2
    Hardware Abstraction Layer Version = "5.1.2600.5512 (xpsp.080413 - 2111).
    Total physical memory 512,00 MB
    Available physical memory 145,58 MB
    Total virtual memory 2.00 GB
    Available virtual memory 1.96 GB
    1.03 GB of swap file

    Your specifications specify that you have 512 MB of physical memory...
    It's your RAM. When video editing with an application like film
    Maker it is generally recommended that a system has a nude
    minimum of 1 GB of RAM and 2 to 4 GB would be better.

    That said, perhaps the following information will be useful:

    The most common reasons for Movie Maker problems are...

    (1) source incompatible or damaged (video clips, pictures, music files).

    (2) incompatible, corrupt or nonexistent filters (Codecs).

    (3) projects that are too big or too complex for the system resources.

    First... Open Movie Maker and go to... Tools / Options /.
    Compatibility tab and disable all filters / OK.

    Try to create your project and find out whether there is a
    improvement.

    If no improvement, return to the same settings
    and left click Restore values by default all the button / OK.

    As for file formats...

    Several formats are apparently compatible with
    Movie Maker, but the most reliable choices are:

    Photos - bmp
    Video - wmv or dv - avi
    (FWIW... DV - AVI is a specific format... it's
    doesn't mean "everything". AVI files are compatible with
    Movie Maker.)
    Audio - wav, wma, wmv

    There are to many converters available on the net and
    Some are better than others... it can be interesting to try
    experiment and see which suits you best.

    Proceed at your own risk *.

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    (1) format Factory (freeware)
    http://www.videohelp.com/tools/Format_Factory
    (the 'direct link' is faster)
    (the file you want to download is: > FFSetup270.zip<>
    (FWIW... installation..., you can uncheck
    ('all' boxes on the last screen)
    (Windows XP / Vista / 7)

    First, you will need to decompress the file or just open the
    Drag FFSetup270.exe out of the folder
    and drop it on your desktop. To install left click.

    (2) Freemake Free Video Converter (freeware)
    http://www.Freemake.com/free_video_converter/
    (Windows XP / Vista / 7)

    (3) Koyotesoft Free Video Converter
    http://www.koyotesoft.com/indexEn.html
    (2000/XP/2003/Vista/Seven)

    (4) Sothink Free Video Converter
    http://www.Sothinkmedia.com/video-converter/
    (Windows XP / Vista / 7)

    (5) SUPER © Simplified Universal Player Encoder & Renderer
    http://www.videohelp.com/tools/Super
    (the download mirror site is faster) (Windows XP / Vista / 7)

    (6) Xilisoft Video Converter
    http://www.Xilisoft.com/video-converter.html
    (not freeware but receives good reviews)
    (Windows XP (SP2 or later) / Vista / 7)

    There is a small chance that download and installation
    one of the following Codec Packs would improve the problems.

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Proceed at your own risk *.

    Media Player Codec Pack
    http://www.mediaplayercodecpack.com/
    (Windows XP - Vista - 7)

    K - Lite Codec Pack (full)
    http://www.filehippo.com/download_klite_codec_pack/
    (Windows XP - Vista - 7)

    Windows 7 Codec Pack
    http://download.CNET.com/Windows-7-Codec-Pack/3000-13632_4-10965840.html
    (Windows XP - Vista - 7)

    Download CCCP (combined Community Codec Pack)
    http://www.CCCP-project.NET/
    (Windows XP - Vista - 7)

    Good luck...

  • split with day, month and year in a date

    Hi all

    I have this point of view

    with (id, dt) t (select 1, to_date('02/06/2010','MM/DD/YYYY') of all the double union)
    Select 2, to_date('11/29/2001','MM/DD/YYYY') of all the double union
    Select 3, to_date('02/06/2011','MM/DD/YYYY') of all the double union
    Select option 4, double to_date('10/10/2011','MM/DD/YYYY')
    )
    --
    -end of test data
    --
    SELECT id, dt
    floor (months_between(sysdate,dt)/12) years
    , floor (mod (months_between (sysdate, dt), 12)) months
    -The day is ambiguous because of the number of days in a different month
    -you could design your own algorithm to give the desired results, but it is a good approximation
    , floor (sysdate-(add_months (dt, floor (months_between (sysdate, dt))) as dys
    t
    /
    ID DT YEARS MONTHS DYS
    ---------- ----------- ---------- ---------- ----------
    1-6 FEBRUARY 2010 5 8 22
    2 29 NOVEMBER 2001 13 10 29
    3-6 FEBRUARY 2011 4 8 22
    4-10 OCTOBER 2011 4 0 18

    As a result, 26 years old, 26 months, 91 days.


    And subtract years, MONTHS and DYS as format

    erase years, from 1 to 12 months and the days of the 1 to 30 as

    91 days = 30 x 3 + 1 = > 1 day over 3 months

    26 months + 3 months = 29 months = > 24 months + 5 months = 2 years + 5 months

    and 26 years + 2 years = 28

    desire to result: 28 years, 5 months and 1 day.

    Is there a function that give me this result from the query above?

    Kind regards

    Gordan

    Hello Gordan,.

    I understand that you are the SUM of all the lines.

    Here are two ideas:

    -1 - using a date
    (a) SUM (TRUNC (sysdate) - dt)
    I would give you the total number of days.
    (b) adding the number of days to, for example, DATE ' 1900-01-01' would give another date...
    (c) simply subtract the years 1900 and it takes several years,
    subtract 1 from the month (1-12 from January to December) and you have the number of months
    subtract 1 from the day of the month (1-31) and you have the number of days.
    It is of course 'approximate' as the months do not have the same number of days...

    -2 - using only the number of days
    Maybe you want something else, for example: the total number of days divided by 365.25 for many years, the recall divided by 30 to get the number of months, the reminder being the number of days.

    (a) SUM (TRUNC (sysdate) - dt)

    I would give you the total number of days.

    (b) Division by 365.25 (le.25 is to take leap years into account, but you can choose for example "365")

    (c) number of reminder of days (total - years * 365.25): divided by 30 is the number of months

    (d) number reminder of days (total - years * 365.25 - months * 30): gives the number of days.

    The following two options with your test data (by chance, this gives the same result in this case)

    option 1:
    with (id, dt) t (select 1, to_date('02/06/2010','MM/DD/YYYY') of all the double union)
    Select 2, to_date('11/29/2001','MM/DD/YYYY') of all the double union
    Select 3, to_date('02/06/2011','MM/DD/YYYY') of all the double union
    Select option 4, double to_date('10/10/2011','MM/DD/YYYY')
    )
    target_date AS
    (SELECT DATE ' 1900-01-01' + SUM (TRUNC (sysdate) - t.dt) FROM t trgt)
    in_pieces AS
    (SELECT TO_NUMBER (TO_CHAR (td.trgt, 'YYYY')) - 1900 y
    , TO_NUMBER (TO_CHAR (td.trgt, 'MM')) - 1 m
    , TO_NUMBER (TO_CHAR (td.trgt, 'DD')) - 1 d
    Target_date TD
    )
    SELECT "result: ' |"
    TRIM (CASE WHEN ip.y = 0 THEN NULL
    WHEN ip.y = 1 THEN "1 year"
    Of OTHER TO_CHAR (ip.y) | "years".
    END |
    CASE WHEN ip.m = 0 THEN NULL
    WHEN ip.m = 1 THEN "1 month"
    Of OTHER TO_CHAR (ip.m) | 'months '.
    END |
    CASE WHEN ip.d = 0 THEN NULL
    WHEN ip.d = 1 THEN "1 day"
    Of OTHER TO_CHAR (ip.d) | 'days '.
    END
    )
    Of in_pieces ip
    ;
    result: 28 years, 4 months and 28 days

    option 2:

    with (id, dt) t (select 1, to_date('02/06/2010','MM/DD/YYYY') of all the double union)
    Select 2, to_date('11/29/2001','MM/DD/YYYY') of all the double union
    Select 3, to_date('02/06/2011','MM/DD/YYYY') of all the double union
    Select option 4, double to_date('10/10/2011','MM/DD/YYYY')
    )
    nb_days AS
    (SELECT SUM (TRUNC (sysdate) - t.dt) n t)
    , y AS
    (SELECT Nb.n, FLOOR (nb.n / 365.25) y nb_days n. b.)
    ym AS
    (SELECT y.n, y.y, FLOOR ((y.n-y.y * 365,25) / 30) FROM a)
    ymd AS
    (SELECT ym.y, ym.m, ym.n - ym.y * 365.25 - ym.m * ym FROM 30 d)
    SELECT "result: ' |"
    TRIM (CASE WHEN ymd.y = 0 THEN NULL
    WHEN ymd.y = 1 THEN "1 year"
    Of OTHER TO_CHAR (ymd.y) | "years".
    END |
    CASE WHEN ymd.m = 0 THEN NULL
    WHEN ymd.m = 1 THEN "1 month"
    Of OTHER TO_CHAR (ymd.m) | 'months '.
    END |
    CASE WHEN ymd.d = 0 THEN NULL
    WHEN ymd.d = 1 THEN "1 day"
    Of OTHER TO_CHAR (ymd.d) | 'days '.
    END
    )
    WAN
    ;
    result: 28 years, 4 months and 28 days

    Best regards

    Bruno Vroman.

  • Hello, I would like to take advantage of the promotions on Adobe Photoshop for a single user (valid until tomorrow), but I have two questions.  First of all, I intend to buy a new computer for a month and for the moment, I don't know if it will be

    Hello, I would like to take advantage of the promotions on Adobe Photoshop for a single user (valid until tomorrow), but I have two questions.  First of all, I intend to buy a new computer for a month and for the moment, I don't know if it will be a pc or a mac. Do I have to decide at the time of the purchase, what system I'll use?  Secondly, I also have a plan for about a month to open an individual company. If I buy the program as a person, could I then use it as a business?

    Creative cloud is cross-platform. Licensing is not serious. By definition, an "enterprise" might as well be a single person. It is totally irrelevant, as long as you purchase a full license appropriate regardless of any promotion.

    Mylenium

  • How to set the filter criteria for the month and the year to aid in the timestamp input field?

    Hello

    I use jdev 11.1.2.3.

    I have a problem with the generation of reports, I have a report table that is in the form of VO (query based) and I want to search this table in the month and year of the basic

    but in this table (query) This timestamp field of having value based on... How to do a search with the name of the month and year only... Here I totally use vo base query to generate a

    reports... Anyone can guide me.

    Thank you.

    I want to create a drop-down list for month + year as an executable parameters with bind variable no matter what idea this subject, my attribute here is TimestampFormat.

    Then add to your sql query something like:

    WHERE extract (your_timestamp_column MONTHS) =: monthBindVar

    OR an extract (YEAR your_timestamp_column) =: yearBindVar

    and add monthBindVar and yearBindVar as a bind variable to your view object.

    Then you can use it as a ExecuteWithParams operation (or manually set these bind variables and execute the query)

    Dario

  • To find the months and days between 2 dates

    Hello

    I want to find the months and days between 2 dates.

    For example.

    1 - Date: August 25, 2013

    2 - Date: October 23, 2013

    If we consider each month 30 days, it should give

    August 25, 2013 to August 30, 2013 = 6 days

    01-Sep-2013-30-Sep-2013 = 1 month

    October 23, 2013 to October 30, 2013 = 8 days

    Total = 1 month and 14 days.

    Kindly help as soon as possible.

    Thanks and greetings

    Suresh

    Assuming that d2 > d1,.

    where d)

    Select sysdate d1, sysdate + 56 double d2

    Union all select to_date (March 1, 2013 ',' dd-mon-yyyy "") d1, to_date (March 31, 2013 ',' dd-mon-yyyy ') d2 double

    Union all select to_date (5 February 2013 ',' dd-mon-yyyy ') d1, to_date (March 31, 2013 ',' dd-mon-yyyy "") double d2

    Union all select to_date (February 25, 2013 ',' dd-mon-yyyy "") d1, to_date (March 23, 2013 ',' dd-mon-yyyy ') d2 double

    Union all select to_date (February 25, 2013 ',' dd-mon-yyyy ') d1, to_date (March 31, 2013 ',' dd-mon-yyyy "") double d2

    Union all select to_date (August 2, 2013 ',' dd-mon-yyyy "") d1, to_date (29 October 2013 ',' dd-mon-yyyy ') d2 double

    Union all select to_date (February 1, 2013 ',' dd-mon-yyyy "") d1, to_date (May 31, 2013 ',' dd-mon-yyyy ') d2 double

    Union all select to_date (25 August 2013 ',' dd-mon-yyyy "") d1, to_date ('03-Sep-2013', 'Mon-dd-yyyy') d2 double

    Union all select to_date (July 30, 2013 ',' dd-mon-yyyy "") d1, to_date (August 31, 2013 ',' dd-mon-yyyy ') d2 double

    Union all select to_date (July 31, 2013 ',' dd-mon-yyyy ') d1, to_date (August 30, 2013 ',' dd-mon-yyyy "") double d2

    Union all select to_date (July 31, 2013 ',' dd-mon-yyyy ') d1, to_date (3 August 2013 ',' dd-mon-yyyy "") double d2

    Union all select to_date (3 July 2013 ',' dd-mon-yyyy "") d1, to_date (August 31, 2013 ',' dd-mon-yyyy ') d2 double

    Union all select to_date ('31-08-2013', ' dd-mm-yyyy'), to_date('05-10-2013','dd-mm-yyyy') of the double

    Union all select to_date ('05-02-2013', ' dd-mm-yyyy'), to_date('31-03-2013','dd-mm-yyyy') of the double

    Union all select to_date ('05-02-2013', ' dd-mm-yyyy'), to_date('05-03-2013','dd-mm-yyyy') of the double

    Union all select to_date ('05-02-2013', ' dd-mm-yyyy'), to_date('05-02-2013','dd-mm-yyyy') of the double

    )

    Select d1, d2,

    1 + 30 * trunc (months_between (d2, d1)) + LESS (extract (day of d2), 30)-LESS (excerpt (d1 day), 30)

    + CASE when extracted (d2 day)< extract(day="" from="" d1)="" then="" 30="" else="" 0="" end ="">

    d

    D1 D2 DAYSBETWEEN

    ----------- ----------- -----------

    October 10, 2013 5 December 2013 56

    March 1, 2013 30 March 31, 2013

    5 February 2013 March 31, 2013 56

    February 25, 2013 March 23, 2013 29

    February 25, 2013 March 31, 2013 36

    August 2, 2013 29 October 2013 88

    February 1, 2013 may 31, 2013 120

    August 25, 2013 03 - Sep-2013 9

    July 30, 2013 31 August 31, 2013

    July 31, 2013 August 30, 2013 31

    July 31, 2013 3 August 2013 4

    July 3, 2013 August 31, 2013 58

    31 August 2013 5 October 2013 36

    5 February 2013 March 31, 2013 56

    5 February 2013 March 5, 2013 31

    February 5, 2013 February 5, 2013 1

    In my view, which corresponds to your rules.

  • You want to display the current month and previous month data in a single record on forms?

    Hello experts,

    I have this requirement:

    Table structure:

    Division of months value totalAmount

    01-apr-2013 1 10000

    May 1, 2013 1 20000

    01-apr-2013 2 30000

    May 1, 2013 2 50000

    I want to display in forms such as

    Form:

    Month: May 1, 2013

    Total difference of month Division total division prev_Month

    May 1, 2013 1 10000 April 1, 2013 1 20000 10000

    May 1, 2013 2 30000 April 1, 2013 2 50000 20000

    I use two procedure to fetch the records for the current month and the previous month.

    but it will cause a problem, if for some data division previous month do not arise.

    Please suggest me some query I can get with current and data month pre to unique record.

    Please help me.

    Thank you

    Yoann

    I DON'T KNOW BUT TRY...

    Select the month of x.mn, x.division, total x.totalAmount, y.mn prev_month, y.division, total y.totalAmount, (y.totalAmount - y.totalAmount) difference

    Of

    (select month mn, division, totalAmount value)

    from table_name

    where month = (select max (month)

    from table_name

    )

    ) x,.

    (select month mn, division, totalAmount value)

    from table_name

    where month = (select add_months (max (month),-1))

    from table_name

    )

    ) y

    where x.division = y.division

    /

    ALEXANDER SIMONNET

    DHAKA BANGLADESH

  • Month and day of switching

    I have a form that has fields Date1 and day 1 on it.  When you enter the date Date1 must copy the date to the day 1 and change the format to display the day of the week.  I tried this multiple ways and were not able to work right.

    First, I tried the following:

    Field: day 1

    Format: Mm/dd/yyyy-ddd Date\Custom

    Calculate: Custom calculation Script: event.value = this.getField("Date1").value

    Result: The month and day are reversed... ex: 05/08/14 I entered Date1 and day1 shows Thursday, may 8, 2014

    Then I tried:

    Field day 1

    Format: no

    Calculate: Custom calculation Script: event.value = this.getField("Date1").value

    Post: Run the custom validation script:

    var f = event.value;

    = event.value util.printd ("mmm dd/mm/yyyy", f);

    Result: The date shows in Day1 but the format does not change

    Finally, I tried:

    Field day 1

    Format: no

    Calculate: Custom calculation Script:

    var f = getField("Date1").value;

    = event.value util.printd ("mmm dd/mm/yyyy", f);

    Result: Nothing shows in day 1

    Product: Adobe Acrobat Pro XI

    OS: Windows 7 Professional

    If anyone can help me I would be very happy

    Thank you

    You know anything about dates in JavaScript or any other computer language?

    Dates and times for screens are text strings. To do many things with these channels, it must convert the object date JS. Then, there are a lot of properties and methods to deal with the date object. The conversion method also performs validation of date routines to ensure that the dates are the dates on the calendar.

    Have you read the Acrobat JS Reference for the method of "util.printd"?

    The util.printd has 3 parameters, the date format, the date object, and the logic to indicate the use of the image of XFA.

    You only need the date and this date format string. The date object is not the chain of value of a date field.

    You must use the 'util.scand' method to convert the string to a date in a date object.

    Try the following script for 1 day field. The format should be 'None '.

    get the date string;

    var cDate1 = this.getField("Date_1").value;

    date string format;

    var cFormatDate1 = "mm/dd/yyyy";

    convert the date string in the format of a date object.

    var oDate1 = util.scand (cFormatDate1, cDate1);

    error checking;

    if(oDate1 == null) {}

    App.Alert ("Error with date string" cDate1 "using the format" + cFormatDate1, 1, 0);

    clear the value of the field;

    Event.Value = "" ;// convert to date object;"

    } else {}

    format of the object date to display the day of the week;

    Event.Value = util.printd ("ddd", oDate1);

    }

  • Force summary Sub totals on the same page as the repeating group

    Hello people,
    I have a group of left report where I show Patients and visits they have taken for each Department.
    I then did a Sub Total of the number of visits, the Patient took. I want to assure you that the subtotal shows
    upward on the same page as the data in the repeating group. I tried to use an anchor, but the report doesn't.
    It gives an error: REP 1213 - reference field column to a frequency lower than his group when I have the extendable chassis anchor foot sub total
    and 1814 REP report cannot be formatted. Object "Horizontal" can never fit into 'M_1' when I try to anchor the opposite effect.

    My goal is to show totals of Sub (Total) on the same page as the Patient and do not go to the next page. I have attached the dotted line and Total (label and field) in one frame.

    Release of the report:
    Patient ID     Patient Name              Department              Visit
    ======================================================================
    1001           Mary Poppins              Department 001              3
                                             Department 002              4
                                             Department 003              1
                                             -----------------------------
                                             Total                       8
                                             -----------------------------
    
    1002           Peter Pan                 Department 001              2
                                             Department 002              1
                                             Department 003              2
                                             -----------------------------
                                             Total                       5
                                             -----------------------------
    Thanks in advance!

    Pls set the property (page protect the patient details and framework that contains two sub total) to yes.

Maybe you are looking for

  • DVD +/-Rw toshiba SD-R6372 non_bootable

    My dvd - rom (toshiba SD-R6372 dvd +/-Rw) is not recognized by the bios (I own a Mitac 8170 A laptop); any cd/dvd startup disc is useless. Only Windows xp use this unit. I think that the dvd drive is slave atapi Assembly. Any solution for this?

  • DLL and global variables

    OK, here's a strange problem.  I am very new to create the dll, so I don't know that I have just an installation problem. But I'm trying to pass a global variable of a host program to its attached DLL.  I got this job when I was the CVI 2014. I recen

  • OfficeJet Pro 6830: Despite firmware update OfficeJet Pro 6830 will not recognize 3 cartons of party

    Hello I've updated my printer firmware immediately after receving email October 13, who informed me of the new update that would again allow my printer to continue using 3rd party ink cartridges.  However, even after this update--carried out with the

  • Can't see LabVIEW Color Picker (assessment 2014 for Mac)

    Hi all I'm new to LabVIEW and tries to make a graph I did appear transparent.  According to http://forums.ni.com/t5/LabVIEW/Using-LabView-s-Color-Picker/m-p/575619/highlight/true#M269839, the color picker is available as one of the digital controls,

  • 8024001

    8024001 appears when I try to run windows updates. not sure what is originally but can't seem to work around it.