Initialize event happens twice when using setDynamic

Hi.
I'm using WD Java, EP 7 SP 14 and Designer 8.
I have a form with a table, and in the initialize event I add a row to the table using the addInstance() method.
I also set the document to be dynamic using the setDynamic method of the class IWDPDFDocumentInteractiveFormContext, in the method wdDoModifyView.
Then, when I run the form, there are 2 rows added to the table.
But when I don't use the setDynamic method, only one row is added (as it should be).
Is there a chance that using the setDynamic method calls the Initialize event twice?
I'll be thankful if anyone can try this, so I would know if that's a general problem, or if it happens only to me.
Best regards,
Udi.

Hi Udi,
I donu2019t think the setDynamic() method would trigger the initialize event (I could be wrong though).  The case could be that your Initialize code is only getting triggered when you use the setDynamic() method, and the One table row is always there by default! 
Try putting some code in your initialize method for debugging:
xfa.host.messageBox("initializing form...");
See how many times this message pops up!
Just a suggestionu2026
Hope this helps,
Harman

Similar Messages

  • Database call fired twice when using actionListener in dataTable

    Hi all,
    I have a question regarding the request bean lifecylce in the current use case (using Sun JSF 1.2)
    I have a managed bean in request scope that contains an ArrayList which is used as the data provider in a dataTable on a faces page.
    The bean contains an init() method to populate the ArrayList using a database call.
    The dataTable also contains a column with a commandLink that calls a method via actionListener inside the managed bean to delete the current row.
    When I click the link the action gets called and deletes the row from the database. I also reload the data from the database and assign it to my ArrayList.
    However, the init Method is also called before the action is executed. So the database call is fired twice when hitting the link:
    - First time in the init() method of the bean
    - Second time in the actionListener method when reloading the data
    I can not remove the call from the actionListener, because the data has not deleted yet.
    Question:*
    How can I make sure the database call is fired once only? (and also making sure the ArrayList is populated appropriate)
    Maybe I am doing something wrong here? Thanks in advance for any help.
    Maik
    This is the request scope bean:
    public class UserBean implements Serializable {
        private List all;
        private Long userId = null;
        @PostConstruct
        public void init() {
            if(all == null) {
                new ArrayList();
                loadUserList();
         * Constructor
        public UserBean() {
            super();
         * @return the userId
        public Long getUserId() {
            return userId;
         * @param userId
         *            the userId to set
        public void setUserId(Long userId) {
            this.userId = userId;
         * @param all
         *            the all to set
        public void setAll(List all) {
            this.all = all;
        public List getAll() throws GeneralModelException {
            return all;
        public void loadUserList() {
            EntityManager em = Contexts.getEntityManager();
            Query q = em.createNamedQuery("user.findAll");
            all = q.getResultList();
        public void deleteAction(ActionEvent ae) {
            EntityManager em = Contexts.getEntityManager();
            Query q = em.createNamedQuery("user.byId");
            q.setParameter("id", userId);
            try {
                User user = (User) q.getSingleResult();
                if (user != null) {
                    em.remove(user);
                    loadUserList();
            } catch (NoResultException e) {
                // TODO
    }

    No, I do not call the init() method.
    Basically the init() is called before the deleteAction() so the ArrayList still contains the old value, unless a second database call is triggered after the entity has been deleted.
    Maybe I am missing something here...
    See also here (JSF 1.2 RI - Bean Instantiation and Annotation)
    [http://weblogs.java.net/blog/jhook/archive/2007/05/jsf_12_ri_backi.html]
    Here is the init() call stack trace
    Daemon Thread [http-8080-2] (Suspended (breakpoint at line 32 in UserBean))     
         UserBean.init() line: 32     
         NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]     
         NativeMethodAccessorImpl.invoke(Object, Object[]) line: not available     
         DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available     
         Method.invoke(Object, Object...) line: not available     
         DefaultAnnotationProcessor.postConstruct(Object) line: 79     
         Tomcat6InjectionProvider.invokePostConstruct(Object) line: 118     
         ManagedBeanBuilder(BeanBuilder).invokePostConstruct(Object, InjectionProvider) line: 223     
         ManagedBeanBuilder(BeanBuilder).build(InjectionProvider, FacesContext) line: 108     
         BeanManager.createAndPush(String, BeanBuilder, ELUtils$Scope, FacesContext) line: 368     
         BeanManager.create(String, FacesContext) line: 230     
         ManagedBeanELResolver.getValue(ELContext, Object, Object) line: 88     
         FacesCompositeELResolver(CompositeELResolver).getValue(ELContext, Object, Object) line: 53     
         FacesCompositeELResolver.getValue(ELContext, Object, Object) line: 72     
         AstIdentifier.getValue(EvaluationContext) line: 61     
         AstValue.getTarget(EvaluationContext) line: 59     
         AstValue.setValue(EvaluationContext, Object) line: 129     
         ValueExpressionImpl.setValue(ELContext, Object) line: 249     
         JspValueExpression.setValue(ELContext, Object) line: 85     
         RestoreViewPhase.doPerComponentActions(FacesContext, UIComponent) line: 240     
         RestoreViewPhase.doPerComponentActions(FacesContext, UIComponent) line: 245     
         RestoreViewPhase.doPerComponentActions(FacesContext, UIComponent) line: 245     
         RestoreViewPhase.execute(FacesContext) line: 195     
         RestoreViewPhase(Phase).doPhase(FacesContext, Lifecycle, ListIterator<PhaseListener>) line: 100     
         RestoreViewPhase.doPhase(FacesContext, Lifecycle, ListIterator<PhaseListener>) line: 104     
         LifecycleImpl.execute(FacesContext) line: 118     
         FacesServlet.service(ServletRequest, ServletResponse) line: 265     

  • Hiding declined events in iCal when using Office365 (or Exchange)?

    Events are appearing cancelled on our Exchange/Office365 calendars but do not delete from iCal on our iPads. The cancelled meetings will instead show up in a different color. Anyone else having this same problem or know of a solution? Thanks!

    Hello there skier3,
    You should be able to edit an event in the Calendars app by tapping the event in quuestion and then tapping edit shown here:
    iCloud: Using iCloud Calendars with Calendar and iCal
    Tap the event to display event details, including the name of the calendar that contains the event:
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • How do I ensure mail is sent from the correct email account?  I have two set up on my iPad, and it seems to choose which one to use somewhat randomly.  This has happened both when using Mail and when emailing form another app.

    I have two email accounts set up on my iPad -- one I use &amp; one I monitor for a disabled person.  On several occasions, mail I have composed and sent from my email account was sent showing the other account as the sender.  This has happened both from within Mail and when emailing from other apps, such as Safari, Photos, etc.  Any idea what is going on and how to prevent this from happening?

    Are you confirming your POP account is selected as the sending email account before the message is sent?
    And regardless if the email is a new email or is replying to or forwarding an email received by the POP account and cofirming the POP acconut is selected as the sending email account, the message is sent by the Gmail account?
    All message sent by the POP account are sent by the Gmail account?
    If so, delete the Gmail account from your iPad and test if a message sent with your POP account which will be the only email account available with the iPad's Mail app is recieved from your POP account/address.
    If not, something else is wrong or on play that has nothing to do with the iPad.

  • Open File Dialog appears TWICE when using servlet to download an attachment

    Hi,
    This is KILLING me!!! Please HELP.....
    I am using a servlet to download an xml file, which I build on the fly based on user interaction.
    The open file dialog appears nicely and I hit open. The dialog pops up again immediately and I have to click open again in order to open the file.
    This works fine when file extension is txt and I DONOT have to click twice. Here is the code:
    String xmlString = getXMLString(); //builds xml
    String fileName = "myFile.xml";
    response.setContentType("application/x-download");
    response.setHeader("Content-disposition", "attachment;filename=" +fileName);
    PrintWriter out = response.getWriter();
    out.print(xmlString);
    out.flush();
    I am using IE6.0 sp2

    http://forums.java.sun.com/thread.jspa?threadID=596940&tstart=20

  • Word attaching document twice when using File Save & Send

    When a users chooses File - Save & Send - Send As Attachment, the attachment appears twice on the email.  This has happened with several users here at the firm.  Has anyone experienced this?  Any help would be greatly appreciated.  FYI
    - recreating the Outlook profile does not fix the issue.

    Hi,
    First, please try to test this issue with an Excel worksheet (via File - Save & Send - Send As Attachment) and check if you can reproduce it.
    In addition, please temporarily turn off your antivirus software and make sure it is not integrated with Outlook, then open Outlook in safe mode to check if the problem persists. To open Outlook in safe mode, press Windows key + R to open the Run command,
    type outlook.exe /safe and press Enter.
    Please let me know the result.
    Best Regards,
    Steve Fan
    TechNet Community Support

  • Swfobject 2.2 in FireFox displays swf twice when using alternate content

    I have built a Flash site and also set it up with alternate content so it can be viewed on iPhone and iPad as well as other mobile devices.  It works great everywhere but in FireFox the site's swf loads on the page twice.
    Has anyone else experienced this issue and if so, what have you done to work around this FireFox bug?
    You can view the url that I'm using to test at http://www.turntwomedia.com/index-altContent.html

    Check out this post -
    http://support.mozilla.com/en-US/questions/669348

  • Need to select link twice when using Browser back button

    I see that my command_link works fine in normal scenarios.
    But when I come to that page using browser back button and then select the link within the page.... the first time, looks like its regenerating the page and only when I select the link second time it is calling the action listener associated with the link.
    Any clue as to how to fix this problem?
    Thanks

    use the following lines in your web.xml to avoid this bug of the current jsf-ri version.
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>I already tried to report this bug some time ago:
    http://forum.java.sun.com/thread.jsp?forum=427&thread=478928&tstart=180&trange=15

  • I have a very high pitched constant sound coming through my monitors when my iMac 2013 is plugs into my audio interface (Komplete Audio 6) this doesn't happen with when using the same set up but with my macbook powering the interface

    Hi i was wondering if anyone could help me out with regards to this high pitched noise- i am assuming its coming from the imac as when i swap that with my laptop in the exact same setup all high pitched noises are gone.
    Any help would be greatfully appreciated its actually driving me a bit mad now
    Thanks
    Kash

    Have you tried a PRAM reset?

  • Forced to log into an App twice when using the Builder.

    I have had this ongoing problem.
    On my login page I have submit computations that set application level items to values. These items drive subsequent reports that appear on page 1. If I login as a normal user everything is fine. Problem...If I login via the builder as a developer, I have to login, logout, then login a second time for the values to be set. then my report is filtered. Is there a fix to this?
    Help...it's so frustrating!
    regards
    Paul

    It's hard to follow your scenario. If you recreate it on apex.oracle.com along with detailed steps (every keystroke), I'll tell you what is happening.
    Scott

  • When clicking on a button on a website, for example "printable view" on a webmail document, nothing happens. When using Internet Explorer, another windows pops up.

    I have tried unchecking the "block pop ups" box and still nothing.

    Have you thought about installing Firefox 11??
    Since add-ons are a common culprit in modifying website functionality, you could test without them.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, try starting Firefox in Firefox
    [http://support.mozilla.com/kb/Safe+Mode Safe Mode]. Be careful not to "reset" anything permanently if you didn't back up. Just click "Continue in Safe Mode".
    Do the links work correctly? If not, you try creating a new (blank) profile: [http://support.mozilla.com/kb/Managing+profiles Managing profiles].
    If that works you could try to sort out the cause in your old profile, or move key settings like bookmarks from your damaged profile to the new profile, see: [https://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile Recovering important data from an old profile].
    Hope this helps.

  • Weird order of events added to iCal using Applescript

    This is a script that has worked perfectly in the past and as far as I know has not been modified (my bad if so...) Currently it is adding all the correct events into iCal but taking a real long time to do it and this is probably due to the weird chronology it takes to putting the events in. I will include the script at the bottom of this post and here is a section of the event log that shows the weird chronology... Thanks in advance for the help.
    dan
    count every event of calendar "School Calendar 09-10"
    176
    get summary of item 1 of every event of calendar "School Calendar 09-10"
    "Day 5"
    get summary of item 1 of every event of calendar "School Calendar 09-10"
    "Day 5"
    get start date of item 1 of every event of calendar "School Calendar 09-10"
    date "Monday, April 5, 2010 12:00:00 AM"
    make new event at end of calendar "Classes2" with properties {summary:"Alg I period 2", start date:date "Monday, April 5, 2010 9:30:00 AM", end date:date "Monday, April 5, 2010 10:25:00 AM"}
    event id "879D03C6-24CE-49C8-AB3B-D216FF4CF148" of calendar id "186E5DE2-8E33-492F-9F76-D0EF292B98D8"
    make new event at end of calendar "Classes2" with properties {summary:" Pre Calc B period 3", start date:date "Monday, April 5, 2010 10:30:00 AM", end date:date "Monday, April 5, 2010 11:25:00 AM"}
    event id "1AF62B85-F074-4E93-A03F-89CFD79A59A6" of calendar id "186E5DE2-8E33-492F-9F76-D0EF292B98D8"
    make new event at end of calendar "Classes2" with properties {summary:" IB Math period 4", start date:date "Monday, April 5, 2010 11:30:00 AM", end date:date "Monday, April 5, 2010 12:25:00 PM"}
    event id "CCB9EE0D-870E-43EA-AA39-3DAE2BCB23F8" of calendar id "186E5DE2-8E33-492F-9F76-D0EF292B98D8"
    get summary of item 2 of every event of calendar "School Calendar 09-10"
    "Day 3"
    get summary of item 2 of every event of calendar "School Calendar 09-10"
    "Day 3"
    get start date of item 2 of every event of calendar "School Calendar 09-10"
    date "Monday, April 19, 2010 12:00:00 AM"
    make new event at end of calendar "Classes2" with properties {summary:" Pre Calc F period 1", start date:date "Monday, April 19, 2010 8:30:00 AM", end date:date "Monday, April 19, 2010 9:25:00 AM"}
    event id "F8A5B643-7758-437B-919E-65C0EBF043EA" of calendar id "186E5DE2-8E33-492F-9F76-D0EF292B98D8"
    make new event at end of calendar "Classes2" with properties {summary:"Alg I period 3", start date:date "Monday, April 19, 2010 10:30:00 AM", end date:date "Monday, April 19, 2010 11:25:00 AM"}
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #FFDDFF;
    overflow: auto;"
    title="this text can be pasted into a HTML editor">
    tell application "iCal"
    ---------This is where you gather / set user data
    display dialog "How many courses do you teach?" default answer ""
    set courses to the text returned of the result as number
    set slotA to ""
    set slotB to ""
    set slotC to ""
    set slotD to ""
    set slotE to ""
    set slotF to ""
    set slotG to ""
    set slotH to ""
    repeat with x from 1 to courses
    set entered to text returned of (display dialog "Please enter the slot (A-H) and the course name, separating them with a comma:" default answer "")
    set astid to AppleScript's text item delimiters
    set AppleScript's text item delimiters to ","
    set {chosenslot, chosencourse} to {(entered's text item 1), (entered's text item 2)}
    if chosenslot is "A" then
    set slotA to chosencourse
    end if
    if chosenslot is "B" then
    set slotB to chosencourse
    end if
    if chosenslot is "C" then
    set slotC to chosencourse
    end if
    if chosenslot is "D" then
    set slotD to chosencourse
    end if
    if chosenslot is "E" then
    set slotE to chosencourse
    end if
    if chosenslot is "F" then
    set slotF to chosencourse
    end if
    if chosenslot is "G" then
    set slotG to chosencourse
    end if
    if chosenslot is "H" then
    set slotH to chosencourse
    end if
    end repeat
    set TargetCalendar to "Classes2"
    --Predefined period times
    set periodTimes to {{startTime:"08:30 AM", endTime:"09:25 AM"}, {startTime:"09:30 AM", endTime:"10:25 AM"}, {startTime:"10:30 AM", endTime:"11:25 AM"}, {startTime:"11:30 AM", endTime:"12:25 PM"}, {startTime:"12:30 PM", endTime:"01:25 PM"}, {startTime:"01:30 PM", endTime:"02:25 PM"}}
    set Day1pattern to {slotA, slotB, slotC, slotD, slotE, slotF}
    set Day2pattern to {slotG, slotH, slotA, slotD, slotE, slotB}
    set Day3pattern to {slotF, slotC, slotG, slotD, slotE, slotH}
    set Day4pattern to {slotB, slotA, slotF, slotD, slotE, slotC}
    set Day5pattern to {slotH, slotG, slotB, slotD, slotE, slotA}
    set Day6pattern to {slotC, slotF, slotH, slotD, slotE, slotG}
    --Predefined period cycles
    set Day1 to {slotA & " period 1", slotB & " period 2", slotC & " period 3", slotD & " period 4", slotE & " period 5", slotF & " Period 6 "}
    set Day2 to {slotG & " period 1", slotH & " period 2", slotA & "  period 3", slotD & " period 4", slotE & " period 5", slotB & "  period 6"}
    set Day3 to {slotF & " period 1", slotC & " period 2", slotG & " period 3", slotD & " period 4", slotE & " period 5", slotH & " period 6"}
    set Day4 to {slotB & " period 1", slotA & " period 2", slotF & " period 3", slotD & " period 4", slotE & " period 5", slotC & " period 6"}
    set Day5 to {slotH & " period 1", slotG & " period 2", slotB & " period 3", slotD & " period 4", slotE & " period 5", slotA & " period 6"}
    set Day6 to {slotC & " period 1", slotF & " period 2", slotH & " period 3", slotD & " period 4", slotE & " period 5", slotG & " period 6"}
    --Makes a "list of lists" so that all the period definitions are in one place
    set periodCycle to {Day1, Day2, Day3, Day4, Day5, Day6}
    set periodcycle2 to {Day1pattern, Day2pattern, Day3pattern, Day4pattern, Day5pattern, Day6pattern}
    set isitacycleday to {"Day 1", "Day 2", "Day 3", "Day 4", "Day 5", "Day 6"}
    --This repeat loop is using the cycle day definitions in the calendar named "School Calendar "A.Y.""
    repeat with theEvent in (events of calendar "School Calendar 09-10")
    if isitacycleday contains (summary of theEvent) then
    --Gets the current day and the cycle day number
    set cycleday to summary of theEvent
    set cycleDate to (start date of theEvent) + 1 * hours
    set cycleNumber to last character of cycleday as integer
    --There are always 6 periods in every day
    repeat with periodNumber from 1 to 6
    --Gets the subject from periodCycle
    set theSummary2 to item periodNumber of item cycleNumber of periodcycle2
    set theSummary to item periodNumber of item cycleNumber of periodCycle
    --Checks to see if there's a subject for this period, if not skips to next one
    if theSummary2 is not "" then
    set theStart to date (startTime of item periodNumber of periodTimes) of cycleDate
    set theEnd to date (endTime of item periodNumber of periodTimes) of cycleDate
    --Makes the event in the calender whose name is defined at the top of the script
    make new event at end of calendar TargetCalendar with properties {summary:theSummary, start date:theStart, end date:theEnd}
    end if
    end repeat
    end if
    end repeat
    end tell </pre>

    Did it run faster in the past?
    The events are happening as your script is generating them - for example, you get the event summary to compare in an if statement, then get it again when you assign it to a variable. The Script Editor's *Event Log* is handy in this case to see when you are creating a lot of extraneous or duplicate events.
    Also, when using application tell statements, you should only target the application's terminology, since it will just pass back what it doesn't know how to do - in other words, try not to put anything in the statement except what you need from the application.
    I don't have your iCal calendar events to play with, but a couple of tweaks to your code should improve the performance:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #FFEE80;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    ---------This is where you gather / set user data
    display dialog "How many courses do you teach?" default answer ""
    set courses to the text returned of the result as number
    set slotA to ""
    set slotB to ""
    set slotC to ""
    set slotD to ""
    set slotE to ""
    set slotF to ""
    set slotG to ""
    set slotH to ""
    repeat with x from 1 to courses
    set entered to text returned of (display dialog "Please enter the slot (A-H) and the course name, separating them with a comma:" default answer "")
    set astid to AppleScript's text item delimiters
    set AppleScript's text item delimiters to ","
    set {chosenslot, chosencourse} to {(entered's text item 1), (entered's text item 2)}
    if chosenslot is "A" then
    set slotA to chosencourse
    end if
    if chosenslot is "B" then
    set slotB to chosencourse
    end if
    if chosenslot is "C" then
    set slotC to chosencourse
    end if
    if chosenslot is "D" then
    set slotD to chosencourse
    end if
    if chosenslot is "E" then
    set slotE to chosencourse
    end if
    if chosenslot is "F" then
    set slotF to chosencourse
    end if
    if chosenslot is "G" then
    set slotG to chosencourse
    end if
    if chosenslot is "H" then
    set slotH to chosencourse
    end if
    end repeat
    set TargetCalendar to "Classes2"
    --Predefined period times
    set periodTimes to {{startTime:"08:30 AM", endTime:"09:25 AM"}, {startTime:"09:30 AM", endTime:"10:25 AM"}, {startTime:"10:30 AM", endTime:"11:25 AM"}, {startTime:"11:30 AM", endTime:"12:25 PM"}, {startTime:"12:30 PM", endTime:"01:25 PM"}, {startTime:"01:30 PM", endTime:"02:25 PM"}}
    set Day1pattern to {slotA, slotB, slotC, slotD, slotE, slotF}
    set Day2pattern to {slotG, slotH, slotA, slotD, slotE, slotB}
    set Day3pattern to {slotF, slotC, slotG, slotD, slotE, slotH}
    set Day4pattern to {slotB, slotA, slotF, slotD, slotE, slotC}
    set Day5pattern to {slotH, slotG, slotB, slotD, slotE, slotA}
    set Day6pattern to {slotC, slotF, slotH, slotD, slotE, slotG}
    --Predefined period cycles
    set Day1 to {slotA & " period 1", slotB & " period 2", slotC & " period 3", slotD & " period 4", slotE & " period 5", slotF & " Period 6 "}
    set Day2 to {slotG & " period 1", slotH & " period 2", slotA & "  period 3", slotD & " period 4", slotE & " period 5", slotB & "  period 6"}
    set Day3 to {slotF & " period 1", slotC & " period 2", slotG & " period 3", slotD & " period 4", slotE & " period 5", slotH & " period 6"}
    set Day4 to {slotB & " period 1", slotA & " period 2", slotF & " period 3", slotD & " period 4", slotE & " period 5", slotC & " period 6"}
    set Day5 to {slotH & " period 1", slotG & " period 2", slotB & " period 3", slotD & " period 4", slotE & " period 5", slotA & " period 6"}
    set Day6 to {slotC & " period 1", slotF & " period 2", slotH & " period 3", slotD & " period 4", slotE & " period 5", slotG & " period 6"}
    --Makes a "list of lists" so that all the period definitions are in one place
    set periodCycle to {Day1, Day2, Day3, Day4, Day5, Day6}
    set periodcycle2 to {Day1pattern, Day2pattern, Day3pattern, Day4pattern, Day5pattern, Day6pattern}
    set isitacycleday to {"Day 1", "Day 2", "Day 3", "Day 4", "Day 5", "Day 6"}
    --This repeat loop is using the cycle day definitions in the calendar named "School Calendar "A.Y.""
    tell application "iCal" to repeat with theEvent in (get events of calendar "School Calendar 09-10") --> only target iCal for what it knows
    set cycleday to summary of theEvent --> might as well set the info
    if cycleday is in isitacycleday then
    --Gets the current day and the cycle day number
    set cycleDate to (start date of theEvent) + 1 * hours
    set cycleNumber to last character of cycleday as integer
    --There are always 6 periods in every day
    repeat with periodNumber from 1 to 6
    --Checks to see if there's a subject for this period, if not skips to next one
    if (item periodNumber of item cycleNumber of periodcycle2) is not "" then --> skip as much as possible
    --Gets the subject from periodCycle
    set theSummary to item periodNumber of item cycleNumber of periodCycle
    set theStart to date (startTime of item periodNumber of periodTimes) of cycleDate
    set theEnd to date (endTime of item periodNumber of periodTimes) of cycleDate
    --Makes the event in the calender whose name is defined at the top of the script
    make new event at end of calendar TargetCalendar with properties {summary:theSummary, start date:theStart, end date:theEnd}
    end if
    end repeat
    end if
    end repeat
    </pre>

  • Error message when using function module HRIQ_TESTRESULTS_CREATE

    Hi,
    I need your help, I'm trying to use function module HRIQ_TESTRESULTS_CREATE to create external test results, I've used this function before without subscores, now I need to create subscores, but I get the message: "Grading scale UBID applies".
    The test type EXAM_UB_ING has assigned the UBID academic scale, which has a range from 1 to 677. Test type EXAM_UB_ING has 3 subtests (grammar, listening and reading) which also have the UBID academic scale assigned.
    I think this isn't a customizing problem because I can create test results with subscores using the PIQST00 transaction, the error message happens just when using the function module.
    I'm using this import parameters:
    STUDENT:
    PL:           01
    OT:          ST
    OBJID:     Student ID
    TESTRESULTS_HEADER:
    ISSUEDATE                      08.02.2010
    VALIDDATE                      30.04.2010
    TEST_GUID
    TESTEO                         50000269
    TRANSEO                        00000000
    TESTTYPE                       EXAM_UB_ING
    SESSIONID                      T1
    SESSIONYEAR                    2010
    ENTRYDATE                      08.02.2010
    TESTPASSFAIL
    TESTTOTRES                     458
    TESTSCALE_ID
    TOTALPERCENT1                   0,00
    TOTALPERCENT2                   0,00
    ENTRYMODE
    SUBTY
    Table TESTRESULTS_SUBSCORES:
    SUBTESTID            GRAMMAR
    SUBTESTTRES      GRAMMAR
    SUBT                     203
    SUBTESTID            READING
    SUBTESTTRES      READING
    SUBT                     120
    Does anybody know which could be the error? Or any other function module which I can use? (with HRIQ_TESTRESULTS_PROCESS_DATA I get the same error message).
    Thanks in advance!
    Araceli

    Araceli,
      I just noticed. You are populating SUBTESTSCALE_ID in subtest result structure.That's the reason it's throwing this error. it is trying to match Scale ID from test with value in sub test result scale ID.
    Prabhat Singh

  • Applications disappear when using external mouse

    Using windows 7 professional on a brand new T410 (2537-RZ5).
    Happens only when using an external mouse and mouse is stationary for random periods of time (seconds or minutes).
    Problem: all applications (internet explorer, office, etc) will suddenly disappear (sometimes only leaving outside border of application) to reveal desk top - does not matter which application i have open or whether there is one or multiple. Desktop color is correct but instead of solid color it has a diagonal ribbed effect to the color. Applications will reappear moment I move the mouse.
    Happens with variety of external mouse - does not happen if using laptop mousepad (i.e. no plug in). All latest windows and lenovo updates installed as far as I know but has not fixed bug.  Has happened again just while writing this message - quite frustrating.
    Please help if you can.

    I noticed a similar phenomenon and found that my mouse cursor was landing over the sensitive spot on the right side of the task bar which harbors the "Show Desktop" Aero feature.  Check it out.
    W540 20GBCTO, Ultra Dock, W520, 4270CTO, W510, 4318CTO; (2)T500, 2081CTO; Y560, 064657U, Y530, 405166U; T61p, 6465CTO, A31p, and L2461x Multi-touch Monitor, Mini Dock Plus Series 3

  • Hi there , Why Do I Receive Error Code -1073807253 When Using VISA

    Error Code -1073807253

    Hi ahmed,
    you can attach picture directly in the forum...
    If you would use an error indicator you could read an explanation of the error. It's a "framing error", happening sometimes when using serial connections...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

Maybe you are looking for