SPRUNCONVERSION and Time Multiselection : Amount doubled ??

Hi Experts,
Hope someone could help me solving the following.
1- While Executing My Conversion for One Month, One Category, it seems to work fine.
2- BUT, While Executing the conversion for several months, FIRST, I get The following WARNING Message :
WARNING FX-045 - No Opening year Or you run more than one year
THEN, all accounts for January period are doubled in my Reporting Currency. Othe Month seems to be Ok.
Note, that I do not have any Flow Dimension.
Question, In my Business Rules, even if I do nont have any flow dimension, to I need to indicate an OPEAVG Rules ??? Does it make sens ?
My FX Logic :
*SELECT(%MONTHS%, "[ID]", "TIME", "[TRAITEMENT_AUTO] = 'Y' AND [LEVEL] = 'MONTH'")
*SELECT(%VERSIONS%, "[ID]", "VERSION", "[VERSION_A_TRAITER] = 'Y'")
*XDIM_MEMBERSET TIME =%MONTHS%
*XDIM_MEMBERSET VERSION = %VERSIONS%
*FOR %VERSION%=%VERSIONS%
*RUN_STORED_PROCEDURE=SPRUNCONVERSION([%APP%],[%VERSION%],[EUR],[RATEINPUT],[%SCOPETABLE%],[%LOGTABLE%])
*NEXT
Thanks a lot for your help
Regards,
Olivia.

Tks for this Roberto.
Unfortunatly, even with the Xdim, and Commit, Only the Conversion is doing is job.
My question then : Is there a special function i need to tell to the system the execute first, the SPRU, then, The REC ?
Here is the new logic, if someone can help :
*SELECT(%MONTHS%, "[ID]", "TIME", "[TRAITEMENT_AUTO] <> '' AND [LEVEL] = 'MONTH'")
*SELECT(%VERSIONS%, "[ID]", "VERSION", "[VERSION_A_TRAITER] = 'Y'")
*XDIM_MEMBERSET TIME =%MONTHS%
*XDIM_MEMBERSET VERSION = %VERSIONS%
*FOR %VERSION%=%VERSIONS%
      *RUN_STORED_PROCEDURE=SPRUNCONVERSION([%APP%],[%VERSION%],[EUR],[RATEINPUT],[%SCOPETABLE%],[%LOGTABLE%])
*COMMIT
*NEXT
*SELECT(%MONTHS%, "[ID]", "TIME", "[TRAITEMENT_AUTO] <> '' AND [LEVEL] = 'MONTH'")
*SELECT(%VERSIONS%, "[ID]", "VERSION", "[VERSION_A_TRAITER] = 'Y'")
*XDIM_MEMBERSET TIME =%MONTHS%
*XDIM_MEMBERSET VERSION = %VERSIONS%
*XDIM_MEMBERSET RPTCURRENCY="EUR"
*WHEN TIME.TRAITEMENT_AUTO
*IS "J"
      *REC (FACTOR=1/2, RPTCURRENCY="EUR")
*ENDWHEN
*COMMIT
Tks a lot,
Olivia.

Similar Messages

  • Volume bar appears in opening screen and time is in double vision

    On opening my iPhone there is what appears to be a volume bar toward the top and the time is displayed over a different time in the background. Any suggetions?

    You've most likely taken a screen shot of the lock screen and assigned it to your wallpaper. Change your wallpaper and it will go away... Settings > Wallpaper
    See p. 105 of the manual for how you took the screen shot... http://manuals.info.apple.com/enUS/iPhone_UserGuide.pdf

  • When Firefox is launched, my system tray is disabled(masked by some kind of gray mist), then I can only acitvate the date and time properties by double-click, any left click does not make sense. Did anybody encounter this situation?

    I can not activate the minimized window task manager, even when I end the procedure of taskmgr.exe, its minimized icon is still there in the gray masked system tray.

    I can not activate the minimized window task manager, even when I end the procedure of taskmgr.exe, its minimized icon is still there in the gray masked system tray.

  • Converting time stamp to double

    Hello,
    I am currently using the write to spreadsheet file.vi to save data.
    It looks something like this:
    I also want to add the date and time stamp into the saved data but do not know a way of converting a date and time stamp to 'double format'. When the date and time stamp is in teh double format I can easily concatenate the data stream with the 'date and time' in a 2-D array.
    Thanks,
    Nevica

    Duplicate post
    http://forums.ni.com/t5/LabVIEW/converting-time-st​amp-to-double/td-p/1181397
    Tim
    Johnson Controls
    Holland Michigan

  • HT201272 How do i see a list of the apps that have been downloaded and the dates and times and amounts?  Tried to follow the on-line thing but i want to compare what has been downloaded with my visa bill.  HELP!!

    How do i see a list of the apps that have been downloaded and the dates and times and amounts?  Tried to follow the on-line thing but i want to compare what has been downloaded with my visa bill.  HELP!!

    See this -> http://support.apple.com/kb/HT2727

  • Number doubles in a spry date and time

    Good Afternoon Friends, okay?
    I have a problem that started appearing out of nowhere, next, I have registered several screens and these screens have the date and time fields
    var datatrans01 = new Spry.Widget.ValidationTextField (datatrans01 "," date ", (format:" dd / mm / yyyy ", validateOn: [" blur "], useCharacterMasking: true));
    I do not know what happens every time I type a number doubles it, type I type 1 and he puts 11, already happened to you,
    thanks
    Juliaob

    var datatrans01 = new Spry.Widget.ValidationTextField (datatrans01 "," date ", (format:" dd / mm / yyyy ", validateOn: [" blur "], useCharacterMasking: true));
    Hi,
    There are no quotation marks in front of datatrans and the normal brackets (coloured red) should be curly brackets.
    If you use the following constructor you should be fine assuming that the rest of your markup is OK
    var datatrans01 = new Spry.Widget.ValidationTextField("datatrans01", "date", {format:"dd/mm/yyyy", validateOn:["blur"], useCharacterMasking:true});
    I hope this helps.
    Ben

  • Transaction ABZU amount doubles after AFAR ran.

    Hey Guru's  - I've got an odd situation. I ran transaction ABZU to write-up 2008 depreciation on an asset. It worked fine and the customer was happy with the clean up on the depreciation. At month end, however, the amount doubled when the user ran transaction AFAR to recalc deprecations. It shows the $500 in the transactions area of te planned values tab. But, now it shows $1,000 in the write-up field.
    Is this supposed to happen? If not, does anyone know what may have caused it? Transaction type used was 711.
    Let me know if you may need any other info.
    Your help is greatly appreciated!

    Open Years are 2008 and 2009. Depreciation Method is LINR - Str.-line over rem. use. life 1st yr. conv. to 0.
    Your question did raise a thought for me to go ahead and close 2008 (in the acceptance system) and try to run ABZU. Surprisingly, it worked.
    Still not sure why it would have doubled the 2009 adjustment amount when running AFAR with both years open considering the tranaction is for prior year adjustments. Any insight to that would be helpful. But it the mean time, your question did solve my problem, so THANKS!

  • HRA amount doubling in middle of month leaving action

    HRA for an individual is 100 Rs per month.  It is working fine for all the months during the employee's tenure in organization.
    In case of leaving action/retirement action when an employee retires on 13th of April, AND then when i run payroll at end of month for that employee the system is giving HRA of 200 (doubling up) as it is creating two records of 01.04.2009 to 13.04.2009 and 14.04.2009 to 31.12.9999.
    If an employee retires at end of month, then amount is coming as 100 only. 
    Can u please guide as to what to do.  Do i need to write a rule or is there anything wrong with action as i have checked all processing classes 1 to 72 including 10, 20.  No factoring is being done as this is a fixed amount wage type. 
    This is also happening in all other wage types in infotype 8 which have not factoring including Washing allowance and facility encashment, amount is getting doubled. 
    Basic and VDA are behaving fine as they are being factored.

    Hi Tarun,
    Just compare the HRA wage type's processing, cumulation classes with the basic wage type (which one is coming correct, with out doubling the amount).
    And also compare the processing, cumulation classes with the standard HRA wage type. It may work.
    Try it out and let me know.
    Thanks & Regards
    Bharathi

  • Time Machine and Time Capsule don't seem to work well together?

    Reposted.
    I get the feeling there are some serious problems with the combination of Time Machine and Time Capsule.
    This is extremely disappointing, as the idea of a centralized backup device on the network (instead of disks attached to each and every computer we have running Leopard) seemed like such a good idea and a good way to supplement our tape-based backup that takes place with Retrospect.
    In reality, it's a disaster on both Intel and PowerPC systems. All systems and the Time Capsule are fully up to date with software updates from Apple. I have two 1TB Time Capsule units. It goes something like this:
    1. I have a few systems (mainly Intel) that work perfectly with the Time Capsule. There are no complaints and no issues at all. These systems just quietly run their backups as they should. They are the definite minority--maybe one or two have worked properly.
    2. I have some systems that complain from time to time (mainly PowerPC) but will back up with a little encouragement. These too are the minority.
    3. And finally, I have systems that are nothing but pain. These are both Intel and PowerPC systems. They are also the majority of the systems I have. The most common problem is sudden loss of the credentials needed to access the Time Capsule hardware--a user will be going along about their business when the Mac OS asks for the Time Capsule user name and password--after it's already been supplied and backups have been running. This should simply never ever happen.
    Another charming behavior I've seen is corruption of the sparse disk image file that each computer creates on the Time Capsule. Time Machine will complain that it can't perform the backup, and examining the disk image file with Disk Utility shows it to be severely damaged. Turning off Time Machine, deleting the corrupted sparse image file, and starting over fixes it. For a while.
    Finally, there are the machines (again, both Intel and PowerPC) that just can't seem to actually get through the first backup run. They either go so far and can't continue, or never actually manage to get started. I've checked the disks in these computers and found no problem with the hardware or file system. The installations are fresh and fully up to date.
    Meanwhile, I have computers running Leopard with directly attached disks configured for use with Time Machine. One is a QuickSilver that isn't even officially supported by Leopard, with a Firewire attached disk. It doesn't skip a beat. The other is an Intel Mac mini being used with Mac OS X Server 10.5.4 and a USB external hard drive. These machines just do their thing, and I never have to babysit them.
    These problems with the Time Capsule have been so severe that I've just given up on most of the computers and shut off Time Machine entirely. We have tape backups that run over the week, so it's not a huge loss. But that's not what really made me throw up my hands and say "enough"...no, that was the speed. Even with just one computer backing up to it, the Time Capsule seemed terribly slow. Watching the progress indicator was just painful.
    I put in a word about all of this to my independent Apple dealer, and they say I'm definitely not the first to complain about some or all of these problems. In fact, they told me they were going to set up a test lab in their shop to see if they could duplicate these findings. I have no doubt that they can.
    There are a total of seven computers backing up to one Time Capsule. They all store maybe ~40GB worth of data including the OS. There are about six computers on the other. Because of the way the network is laid out, the Time Capsule is connected to a Gigabit switch (and that is the only thing it's connected to). It cannot be used as the router, although I know Apple suggests this. The Airport section is disabled--I have no need or desire to use it. Some computers link up at 100 megabits, others at 1 gigabit. There are no network problems--we have no problems moving large amounts of data across the same network to our tape backup machine.
    Is anyone else seeing these kinds of problems? Am I doing something wrong or expecting too much from Time Capsule?

    I may be on to something. The Time Capsules I have live in a telephone equipment room that is indoors but not directly air conditioned or heated. It doesn't ever get too hot to be comfortable in there--the highest I've ever seen the temperature was 80 degrees (F). Most of the time the temperature is between 60-78 degrees.
    I happened to touch one of them the other day while it was in use, and I noticed that the casing was hot to the touch...not dangerously so I suppose, but much hotter than I would have expected.
    So I turned a small fan on both Time Capsules and have left it running. And I've noticed that not only do backups seem to complete more quickly, the reliability is also better. I am going to try some of my most troublesome computers once again just to see what happens.
    I know there is a fan pointed at the hard drive in the Time Capsule, but I can't see how it does much in the way of cooling things down. In my opinion, it's just surrounded by too many heat producing devices to do much good...after all, not only is there a 7200 RPM hard disk in there, but also a 500MHz Marvell processor and radio set.

  • Insert date and time into write to spreadsheet

    Easy question here
    I need save 4 arrays of data and insert the date and time that it was taken (LV 8.6)
    for example
    9/4/09 10:00:01 AM  4  6  7  2
    9/4/09 10:00:02 AM  4  6  7  2
    9/4/09 10:00:03 AM  4  6  7  2
    9/4/09 10:00:04 AM  4  6  7  2
    Any ideas, I can't wire the timestamp or date/time string right into the create array
    Thanks
    Chris
    Solved!
    Go to Solution.

    Ok
    the basic problem that I see is the the LabVIEW TimeStamp type is a cluster.  Converting it to a dbl gives you a value in seconds elapsed since 1904 Jan 1 12:00AM GMT and, your spreadsheet cannot interprate that (or display that) as a "TIME."   So, you want to convert it to a string (easy TS->String check the help for format options) BUT, you might want to pass all of your data as numbers into your spreadsheet so you can post-calculate or graph other outputs vs. TIME!  This little chunk of code .....
     converts a LV Timestamp to a number that Excel interperates as "the amount of days elapsed since 0 Jan 1900 @ 12:00AM LOCAL."  You will need to format the cell in Excel to display it as a date-time But it can be operated on and graphed against with only Excel's limitations (Excel followed the Lotus bug of erroneously assuming 1900 was a leap year, and Leap seconds are unrecognized)
    Enjoy!
    Message Edited by Jeff Bohrer on 08-06-2009 02:28 PM
    Jeff

  • Date (date and time) with MySQL, register here!

    Hi,
    Summary:
    I have a page (form) to capture attendance. It works, it allows user to enter their attendance details. On click, it writes to the database - table. The date is not captured on the form. I want to date stamp this by inserting a date (date and time - declared field). I will provide source code. Please pin point what code I should be inserting and wheres about within this code.
    Question:
    Insert date and time into database table -
    Code:
    <?php require_once('Connections/dbAttendance.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form")) {
      $insertSQL = sprintf("INSERT INTO attendlist (Windowsid, title, firstname, surname, extension, mobile, jobrole, course, cpg, mgrname, room) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['textfield'], "text"),
                           GetSQLValueString($_POST['select'], "text"),
                           GetSQLValueString($_POST['textfield2'], "text"),
                           GetSQLValueString($_POST['textfield3'], "text"),
                           GetSQLValueString($_POST['textfield4'], "text"),
                           GetSQLValueString($_POST['textfield5'], "text"),
                           GetSQLValueString($_POST['select5'], "text"),
                           GetSQLValueString($_POST['select2'], "text"),
                           GetSQLValueString($_POST['select4'], "text"),
                           GetSQLValueString($_POST['textfield7'], "text"),
                           GetSQLValueString($_POST['select3'], "text"));
      mysql_select_db($database_dbAttendance, $dbAttendance);
      $Result1 = mysql_query($insertSQL, $dbAttendance) or die(mysql_error());
      $insertGoTo = "Thankyou.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    mysql_select_db($database_dbAttendance, $dbAttendance);
    $query_rsAttendance = "SELECT * FROM attendlist";
    $rsAttendance = mysql_query($query_rsAttendance, $dbAttendance) or die(mysql_error());
    $row_rsAttendance = mysql_fetch_assoc($rsAttendance);
    $totalRows_rsAttendance = mysql_num_rows($rsAttendance);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Delegate Register</title>
    <link href="Registerpage.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationSelect.js" type="text/javascript"></script>
    </head>
    <?php
    $date = date(“format”, $timestamp);
    ?>
    <body>
    <div class="container">
      <div class="header"><img src="Cerner At Imperial2.jpg" width="960" height="150" alt="" /><!-- end .header --></div>
      <div class="content">
        <h3>Register: <?php echo "Date  - ".date("d/m/Y - H:ia")?></h3>
        <form action="<?php echo $editFormAction; ?>" method="post" name="form">
          <table width="780" border="0">
            <tr>
              <td><div align="right">User ID *</div></td>
              <td><span id="sprytextfield1">
                <input name="textfield" type="text" id="textfield" tabindex="1" size="18" maxlength="10" />
              <span class="textfieldRequiredMsg">A value is required.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Title *</div></td>
              <td><span id="spryselect1">
                <select name="select" id="select" tabindex="2">
                  <option value="0">Select</option>
                  <option value="1">Ms</option>
                  <option value="2">Mrs</option>
                  <option value="3">Mdm</option>
                  <option value="4">Dr</option>
                  <option value="5">Mr</option>
                  <option value="6">Prof</option>
                </select>
              <span class="selectRequiredMsg">Please select an item.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">First name*</div></td>
              <td><span id="sprytextfield2">
                <input name="textfield2" type="text" id="textfield2" tabindex="3" size="30" maxlength="30" />
              <span class="textfieldRequiredMsg">A value is required.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Surname *</div></td>
              <td><span id="sprytextfield3">
                <input name="textfield3" type="text" id="textfield3" tabindex="4" size="30" maxlength="30" />
              <span class="textfieldRequiredMsg">A value is required.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Contact / Bleep *</div></td>
              <td><span id="sprytextfield4">
                <input name="textfield4" type="text" id="textfield4" tabindex="5" size="30" maxlength="30" />
              <span class="textfieldRequiredMsg">A value is required.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Mobile no: (optional)</div></td>
              <td><input name="textfield5" type="text" id="textfield5" tabindex="6" size="20" maxlength="20" /></td>
              <td> </td>
            </tr>
            <tr>
              <td> </td>
              <td> </td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Job Role *</div></td>
              <td><span id="spryselect5">
                <select name="select5" id="select5" tabindex="7">
                  <option value="0">Select </option>
                  <option value="1">Doctor</option>
                  <option value="2">Nurse IP</option>
                  <option value="3">Nurse OP</option>
                  <option value="4">Midwife</option>
                  <option value="5">Booking Clerk</option>
                  <option value="6">Medical Secretary</option>
                  <option value="7">OP Receptionist</option>
                  <option value="9">CNS/NP</option>
                  <option value="10">Tester</option>
                </select>
              <span class="selectRequiredMsg">Please select an item.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Manager's Name *</div></td>
              <td><span id="sprytextfield5">
                <input name="textfield7" type="text" id="textfield7" tabindex="8" size="30" maxlength="30" />
              <span class="textfieldRequiredMsg">A value is required.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td> </td>
              <td> </td>
              <td> </td>
            </tr>
            <tr>
              <td> </td>
              <td> </td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Course *</div></td>
              <td><span id="spryselect2">
                <select name="select2" id="select2" tabindex="9">
                  <option value="0">Select</option>
                  <option value="1">Demo</option>
                  <option value="2">Doctors</option>
                  <option value="9">CNS/NP</option>
                  <option value="3">Nurse IP</option>
                  <option value="4">Nurse OP</option>
                  <option value="5">Midwife</option>
                  <option value="6">Booking Clerk</option>
                  <option value="7">Medical Secretary</option>
                  <option value="8">OP Receptionist</option>
                </select>
              <span class="selectRequiredMsg">Please select an item.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Location *</div></td>
              <td><span id="spryselect3">
                <select name="select3" id="select3" tabindex="10">
                  <option value="0">Select </option>
                  <option value="1">CHX 12 Floor Rm 1</option>
                  <option value="2">CHX 12 Floor Rm 2</option>
                  <option value="3">CHX 10 West </option>
                  <option value="4">HH N207 </option>
                  <option value="5">HH W12 Conference</option>
                  <option value="6">SMH Rm a</option>
                  <option value="7">SMH Rm b</option>
                  <option value="8">SMH Ming Wing Rm 5</option>
                  <option value="9">SMH Ming Wing Rm 3</option>
                </select>
              <span class="selectRequiredMsg">Please select an item.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">CPG *</div></td>
              <td><span id="spryselect4">
                <select name="select4" id="select4" tabindex="11">
                  <option value="0">Select </option>
                  <option value="1">CPG 1 - Medicine</option>
                  <option value="2">CPG 2 - Surgery and Cancer</option>
                  <option value="3">CPG 3 - Specialist Services </option>
                  <option value="4">CPG 4 - Circulatory Services and Renal Medicine</option>
                  <option value="5">CPG 5 - Womens and Children</option>
                  <option value="6">CPG 6 - Clinical and Investigative Sciences</option>
                  <option value="7">CPG 7 - Private Patients</option>
                  <option value="8">Others</option>
                </select>
              <span class="selectRequiredMsg">Please select an item.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td> </td>
              <td><input name="button" type="submit" id="button" value="Submit" /></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="center">*Mandatory fields </div></td>
              <td> </td>
              <td> </td>
            </tr>
          </table>
          <input type="hidden" name="MM_insert" value="form" />
        </form>
    <!-- end .content --></div>
      <div class="footer">
    <p align="center">
        <a href="http://validator.w3.org/check?uri=referer"><img
          src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>
          <p align="center"> Cerner@Imperial ICT Training Team </p>
    </p>
      <!-- end .footer --></div>
      <!-- end .container --></div>
    <script type="text/javascript">
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "none", {validateOn:["blur", "change"]});
    var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1", {validateOn:["change", "blur"]});
    var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2", "none", {validateOn:["blur", "change"]});
    var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3", "none", {validateOn:["blur", "change"]});
    var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5", "none", {validateOn:["blur", "change"]});
    var spryselect2 = new Spry.Widget.ValidationSelect("spryselect2", {validateOn:["change", "blur"]});
    var spryselect3 = new Spry.Widget.ValidationSelect("spryselect3", {validateOn:["change", "blur"]});
    var spryselect4 = new Spry.Widget.ValidationSelect("spryselect4", {validateOn:["change", "blur"]});
    var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4", "none", {validateOn:["blur", "change"]});
    var spryselect5 = new Spry.Widget.ValidationSelect("spryselect5", {validateOn:["blur", "change"]});
    </script>
    </body>
    </html>
    <?php
    mysql_free_result($rsAttendance);
    ?>

    There are several ways. One is to get the date from the php time() function and use that in your insert statement. Another is to use MySQL CURDATE() function. But probably the easiest and best is to simply define the default value for the date/time column as the current date/time and exclude it from the insert statement. No code changes necessary.
    http://dev.mysql.com/doc/refman/5.0/en/timestamp-initialization.html

  • Keychain problem and "Set date and time automatically"

    Something very strange appened to me today. I spent a few hours to get it through.
    All starts when I decided to open System Preferences and *set date and time manually* (I lost date and time because I left my PowerBook without its battery for an hour). At the next login, Leopard was no more able to access keychain's stored passwords, even if all items on Keychain Access were right there. Everytime I tried to read one item's password, a pop-up window reminded me that I had not the right to do it. As soon as I set back "date and time" on automatic (time.euro.apple.com - for me) all became normal (all iCal reminders appeared at on time) and all services started to get their passwords from the stored list.
    Sorry for my English (I'm from Italy).
    Someone got the same issue?

    That looks like the correct IP address for the Apple NTP. Not sure why your AEBS is not getting the time stamp.
    Would you mind double-checking the following setting, using the AirPort Admin Utility?
    AirPort Tab - Base Station Options: Logging/NTP
    - Set Date & Time Automatically: time.apple.com (checked)
    Is it possible that you have UDP blocked on port 123? Is your AEBS connected to another Internet router?

  • DATE and TIME and PATH stamps

    I'm a relative newbie still having issues with getting date and time stamps on my printed documents. I use Preview, Pages, Numbers and also tend to print to PDF a lot, which I am opening in Preview.
    I have found an "Insert" ability in Pages but for some reason it appears to only give me the date that I inserted the Timestamp and despite thinking that I understood that this would update itself when I re-open the document it does not seem to be doing this.
    Can anyone help me figure out what I am doing wrong and/or what my options in Mac for putting the following on a document:
    A. DATE and TIME /printed/
    B. NAME of document with LOCATION (I assume this is software specific?!)
    Thanks for any (further) help with this.
    - Jon

    menu Insert > Date_time
    then apply what was described by Jerrold in his message above
    Helpful AnswerRe: DATE and TIME and PATH stamps
    22 nov. 2011 18:05 (in response to hotwheels 22)
    Or simply double-click the inserted date-time (CAUTION : I don't know if the double click apply with every system or if it's dedicated to Lion).
    As far as I know, the inserted date behaves the same in header, footer, text box or main text layer.
    Yvan KOENIG (VALLAURIS, France)  mardi 22 janvier 2011 20:25:12
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Integration with Outlook - how to increment end date and time from start date/time

    Hi,
    I want to add a variable amount of time to an appointment start date and time in outlook, through vba in access.  Code below shows what I've done:
    ======================================
        Dim olApp As New Outlook.Application
        Dim olAppointment As AppointmentItem
        Dim myRequiredAttendee As Outlook.Recipient
        Set olAppointment = olApp.CreateItem(olAppointmentItem)    
        With olAppointment
            .Start = DateValue(strStartDate) + TimeValue(strStartTime)
            .Duration = intDuration
            .End = DateValue(strStartDate) + ????????
    =======================================
    What do I replace the ????? with so that it increments the start time by any duration I decide in minutes?  Using the duration doesn't seem to work and I also want to be able to have the appointment span a number of days, e.g. could start at 930am on
    Monday and end at 10am on Weds, but want to set the end time relative to the start time.
    Thanks,
    Chris.
    _________________________________________________________ Every day is a school day!

    I've tried that, but it throws out a datatype mismatch error :(
    It would be helpful if you posted the exact code you tried.  In my tests, setting teh .Duration property appears to work.  However, if you want to set the .End property to a specific number of minutes after the date/time of the .Start property,
    this works for me:
    With olAppointment
    .start = DateValue(strStartDate) + TimeValue(strStartTime)
    .End = .start + TimeSerial(0, intDuration, 0)
    End With
    Assuming, that is, that intDuration contains the number of minutes the appointment should last.
    Dirk Goldgar, MS Access MVP
    Access tips: www.datagnostics.com/tips.html

  • How do you change date and time in Photos?

    How do you change the date and time of photos in the new Photos app? I know how to do it in iPhoto, I'm having a problem figuring it out for the new app. I have a MacBook Pro 13" running on OS X Yosemite Version 10.10.3

    Select photos
    Click "Image" menu > "Adjust Date and Time..."
         or
    Select photos
    Command + i(or "window" menu > "info")
    "Double-Click" around "Date and Time" on "info window"

Maybe you are looking for