KeyListener does not capture Arrow key Events in textField

Love................
I added a key listener to TextField it does not detect
Arrow Keys events in keyTyped, KeyPressed,KeyReleased methods
why?????
I want to shift focus from a textfield to other component
on capturing Arrow key Pressed How

Here is a Java demo where it works since it is not a printable character you must get the keyCode:
http://java.sun.com/docs/books/tutorial/uiswing/events/example-swing/index.html#KeyEventDemo
public class KeyEventDemo ... implements KeyListener ... {
...//where initialization occurs:
     typingArea = new JTextField(20);
     typingArea.addKeyListener(this);
/** Handle the key typed event from the text field. */
public void keyTyped(KeyEvent e) {
     displayInfo(e, "KEY TYPED: ");
/** Handle the key pressed event from the text field. */
public void keyPressed(KeyEvent e) {
     displayInfo(e, "KEY PRESSED: ");
/** Handle the key released event from the text field. */
public void keyReleased(KeyEvent e) {
     displayInfo(e, "KEY RELEASED: ");
protected void displayInfo(KeyEvent e, String s){
     char c = e.getKeyChar();
     int keyCode = e.getKeyCode();
     int modifiers = e.getModifiers();
     tmpString = KeyEvent.getKeyModifiersText(modifiers);
     ...//display information about the KeyEvent...
}

Similar Messages

  • Keyboard shortcut for star shape does not work - arrow keys

    I need to use the star shape to make a sort of badge with many points.
    In the past, I've used the star shape and held up arrow or down arrow to change the number of points on the star. This no longer works for me in Adobe Illustrator CS4 (on a Windows Vista). Did this shortcut change? All my other keyboard shortcuts work. I tried resetting the preference file for Illustrator just in case, but it didn't fix it.

    I have found a work-around for this problem, although it's a bit annoying.
    I have a Wacom Bamboo tablet and encountered the same problem with establishing the number of points on a star. I tried everything and noticed it worked sometimes. Well, turns out that it will work only once after changing the settings for your pen.  I just moved the tip feel setting leaving the pen tablet properties window open, went to illustrator and the arrow keys worked. If you try drawing the shape again, it won't work. You have to go back to the pen tablet properties window and move or change something, go back to illustrator and it works again. It's a little annoying, but if you're used to using the arrow keys to create shapes, it's handy to know it's there.

  • Event structure does not capture mouse click event on toolbar activeX control

    Hi
    We have a toolbar activeX control on FP.  It works perfectly on my computer, but on my coworkers deskyop,  somehow the event structure doesn't capture mouse click event.
    Any idea?  Thanks a lot for any help.
    Anne

    It's a standard activeX control.  I attach a simple vi .
    thanks  for any help.
    Attachments:
    toolbar test.vi ‏41 KB

  • Recording [slide] does not capture web app events

    Captivate 7, Win 7
    I'm trying to capture actions in PeopleSoft. I've done this in Cap 6 and Cap 5/5.5 with the same Training settings. When I click links, check boxes, or buttons, none of the interactions are captured. In fact, only the first one or two screens are captured when there should be 10-15. I've tried this with both automatic and manual settings. I'm sure I just have something set up incorrectly. Here is a screen shot of my settings:
    Thanks for any help!
    Mary

    Hi Mary,
    Can you retry recording that web application after Launching Captivate as administrator. (Righ click on Captivate 7 icon, then click on Run as admin).
    Also, try opening that web application in a different browser this time if you can and check whether it creates a slide on every mouse and keyboard event?
    and is it creating the Video demo slide for your mouse movements and drag and drop actions? (if you have checked smoothen movement for drag and drop, and mouse wheel actions from Recording > Settings).
    Thanks.

  • Simulate arrow key events in labview

    Hello,
    I am trying to simulate the arrow key events (left, right, up & down) in labview. Lets say I would like the events to happend when a slider bar goes beyond a certain threshlold (later I will inteface it with a daq).
    I found this example but, I can not figure out how to move the arrow keys (and I have not experiance with the User32.dll):
    http://zone.ni.com/devzone/cda/epd/p/id/3711
    I would really appreciate the help.
    Many thanks
    Solved!
    Go to Solution.

    Hi,
        I need to get multiple-key-press of arrow-keys. i.e., if I press Up-Arrow-Key, keep hold it down, while being pressed down press Left-Arrow-Key and keep it pressed(now both keys are pressed First: Up, Second: Left). Now my requirement is I need to get the following sequence of Key-Values -
    Up-Key, Left-Key, Up-Key, Left-Key, Up-Key, Left-Key ...etc., 
    as long as both keys are kept dow.
    -Any help is appreciated
    -Beginer

  • My calendar will no longer let me add new event or delete them, it comes up with an error saying "cannot save event, no end date set" or "event does not belong to that event store". can anyone help with this?

    my calendar will no longer let me add new event or delete them, it comes up with an error saying "cannot save event, no end date set" or "event does not belong to that event store". can anyone help with this?

    Hi,
    To configure your ODBC DataSource, go to Control Panel ---> DataSources(ODBC) (If you are in a Windows environment).
    Select the tab System DSN. If you have not added your data source, then do so by clicking on the Add button. If you have added the datasource, click on the Configure button to configure it.
    Give the datasource name, then the database name.
    You have to give the hostname, service name and server name. I guess, in most cases, the datasource name and host name will be the same, service name and server name will be the same. If you are using TCP/IP, the protocol will be onsoctcp.
    There will be a file named Services under C:\WINNT\system32\drivers\etc where you have to give the port number for accessing this server.
    It will be like this <service name> <portnumber>/tcp
    Hope this helps...
    best wishes,
    Nish

  • Calendar on iOS 7.1: Cannot Save Event - That event does not belong to that event store.

    Hi All,
    I have an iPhone 5 running iOS 7.1.
    Yesterday, while updating a birthday in the iPhone iOS calendar app (default calendar = GMail), I noticed that the new 'List View' in the iOS 7.1 calendar (and only that view) showed an event called 'New Event' - which has a start date of 2014 and an end date of 2001. If I go into that event, it will show me no title and no location - only, as mentioned, funny start and end times. The 'Delete Event' button is completely missing. This 'New Event' does not come up in any other view.
    Trying to input a ficticious title with a valid start and end time into that event slot leads to a message from the calendar app saying: "Cannot Save Event - That event does not belong to that event store." I have deleted all calendars and re-add them again via settings, with / without soft and hard reset and tried every possible combination. Yet, the event will not disappear.
    The funny thing is that this 'New Event' will still showed up, even when my GMail, work and iCloud calendars were disabled. I have, however, subscribed to a GMail calendar for Australian holidays, and there is a built-in 'Birthday' calendar that pulls the dates from the contacts (I do not use that contact field, though).
    Does anyone have a similar issue? Any suggestions how to fix it?
    Thanks in advance!
    Edit: This 'New Event' does not seem to sync to any calendar other than on the iPhone - not to Gmail, not to work, not to iCloud.

    Had same problem. Although the phone looks off   it actually isnt.  If you actually turn it off and then on again this problem will disappear. I think its a memory overload issue that is solved by clearing the memory by turning it off.
    Worked for me

  • I keep getting error messages on the calendar since downloading the new software on my IPAD2. It either says "cannont save event. That event does not belong to that event store" or I get an error message that says that no calendar "has been set".

    I keep getting error messages on the calendar since I downloaded the new software on my IPAD2.  When I try to add a new event it either says "That event does not belong to that event store" or it says "the calendar has not been set".  Does anyone know what these messages mean or how to address this?

    I'm getting the same issue on my ipad2...I set up a new calender and now I keep getting this error message....how do I fix this?

  • RFC destination R/3 Source does not exist., error key: RFC_ERROR_SYSTEM_FAI

    Hi All,
    I am getting the error "RFC destination R/3 Source does not exist., error key: RFC_ERROR_SYSTEM_FAILURE" when planning sequence (IP) is executed. Can some one help me please asap.
    Regards
    Kiran

    Hi,
    Please go to sm59 and check if the RFC connection exists for this source system. If its there, please double click on it and on next screen, go to Menu bar and click on Test-> Connection and then test -> authorisation.
    If you get any error, thats the reason. If you dont find the RFC at all, thats the reason why you got error.
    You may also check WE20 for partner profile, whether it exists or not.

  • Java APM Agent initialization failed: SEAgent.config.xml does not have a valid event sender configured

    Today I tried to configure JAVA APM on a CentOS 6.4 server with tomcat6 installed through the normal RPM package. Adding this server to SCOM was no problem and it shows itself as a 'Deep Monitored Configuration'. The last part of enabling
    JAVA APM fails. I have followed the following process:
    1. Imported the JAVA APM MP's
    2. Extracted the JAVA APM Files
    3. Copied those files to my CentOS server
    4. Added the JAVA_OPTS to my tomcat configuration file
    5. Restarted Tomcat
    When I look for the log file which needs to be created through the installation of the APM agent it cannot be find. When I look into my Catalina.out file I see the following errors:
    Mar 05, 2014 7:05:16 PM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger error
    SEVERE: Java APM Agent initialization failed: SEAgent.config.xml does not have a valid event sender configured
    com.microsoft.ManagementServices.APMAgent.Exception.ApmException: SEAgent.config.xml does not have a valid event sender configured
            at com.microsoft.ManagementServices.APMAgent.AgentThreadManager.<init>(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.AgentThreadManager.<init>(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.Agent.Monitor.AgentContext.<init>(Unknown Source)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
            at com.microsoft.ManagementServices.APMAgent.Agent.Startup.AgentContextLoader.loadContext(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.Agent.Startup.Agent.premain(Unknown Source)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
            at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
            ... 15 more
    Caused by: com.microsoft.ManagementServices.APMAgent.Exception.ApmException: Error registering MBean: com.microsoft.ManagementServices.APMAgent:type=COUNTER
            at com.microsoft.ManagementServices.APMAgent.EventSender.MBeanEventLog.registerMetricMBeans(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.EventSender.MBeanEventLog.<init>(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.EventSender.MBeanEventLog.<init>(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.AgentThreadManager.<init>(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.AgentThreadManager.<init>(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.Agent.Monitor.AgentContext.<init>(Unknown Source)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
            at com.microsoft.ManagementServices.APMAgent.Agent.Startup.AgentContextLoader.loadContext(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.Agent.Startup.Agent.premain(Unknown Source)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
            at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
            ... 15 more
    Caused by: com.microsoft.ManagementServices.APMAgent.Exception.ApmException: Error registering MBean: com.microsoft.ManagementServices.APMAgent:type=COUNTER
            at com.microsoft.ManagementServices.APMAgent.EventSender.MBeanEventLog.registerMetricMBeans(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.EventSender.MBeanEventLog.<init>(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.EventSender.MBeanEventLog.<init>(Unknown Source)
            ... 19 more
    Mar 05, 2014 7:05:16 PM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger info
    INFO: Java APM Agent loading failed (Build: 1.10.100.15, Label: NotFromLabel, BuildDate: 20131112)
    java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
            at com.microsoft.ManagementServices.APMAgent.Agent.Startup.AgentContextLoader.loadContext(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.Agent.Startup.Agent.premain(Unknown Source)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
            at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
    Caused by: java.lang.InstantiationException: Monitor initialization failed: SEAgent.config.xml does not have a valid event sender configured
            at com.microsoft.ManagementServices.APMAgent.Agent.Monitor.AgentContext.<init>(Unknown Source)
            ... 12 more
    Does anyone have seen this error before? Can someone help me with this one?
    Thnx,

    I'm running tomcat on a CentOS release 6.4 (Final) server. I installed Tomcat 6 through an RPM from the CentOS sources. I have installed Apache Tomcat/6.0.24 wit JVM version 1.7.0_09-icedtea-mockbuild_2013_01_16_18_52-b00, the JVM Vendor is Oracle Corporation.
    My tomcat configuration needs to be done in '/etc/tomcat6/tomcat6.conf'
    I installed the APM Agent in the path '/opt/apm/' with the rights  40755 (root/root). The files have the following rights:
    -rw-rw-r-- 1 root tomcat  32046 Mar  3 15:38 apm_facade.jar
    -rw-rw-r-- 1 root tomcat 244819 Mar  3 15:38 apm_monitor.jar
    -rw-rw-r-- 1 root tomcat  38110 Mar  3 15:38 apm_producers.jar
    -rw-rw-r-- 1 root tomcat 207006 Mar  3 15:38 asm-all-3.3.1.jar
    -rw-rw-r-- 1 root tomcat   4157 Mar  3 15:38 ASM_Third_Party_Notices.txt
    -rw-rw-r-- 1 root tomcat 241368 Mar  3 15:38 DispatcherStub.dll
    -rw-rw-r-- 1 root tomcat  36880 Mar  3 15:38 pmonitor.config.xml
    -rw-rw-r-- 1 root tomcat   2625 Mar  3 15:38 SEAgent.config.xml
    -rw-rw-r-- 1 root tomcat    830 Mar  5 15:19 Starter.properties
    The above rights are equal to the /etc/tomcat6 directory with the tomcat configuration files.
    In the tomcat6.conf I have added the following entries:
    #Microsoft SCOM APM
    JAVA_OPTS="${JAVA_OPTS} -Djava.library.path=/opt/apm"
    JAVA_OPTS="${JAVA_OPTS} -javaagent:/opt/apm/apm_facade.jar -Xbootclasspath/p:/opt/apm/apm_producers.jar -Xbootclasspath/p:/opt/apm/apm_facade.jar"
    When I look into the running tomcat process I see the following:
    tomcat   17401     1  0 Mar05 ?        00:00:39 /usr/lib/jvm/jre/bin/java -Djava.library.path=/opt/apm -javaagent:/opt/apm/apm_facade.jar -Xbootclasspath/p:/opt/apm/apm_producers.jar -Xbootclasspath/p:/opt/apm/apm_facade.jar
    -Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory -Djava.library.path=/opt/apm -javaagent:/opt/apm/apm_facade.jar -Xbootclasspath/p:/opt/apm/apm_producers.jar -Xbootclasspath/p:/opt/apm/apm_facade.jar -Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory
    -classpath :/usr/share/tomcat6/bin/bootstrap.jar:/usr/share/tomcat6/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar -Dcatalina.base=/usr/share/tomcat6 -Dcatalina.home=/usr/share/tomcat6 -Djava.endorsed.dirs= -Djava.io.tmpdir=/var/cache/tomcat6/temp
    -Djava.util.logging.config.file=/usr/share/tomcat6/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager org.apache.catalina.startup.Bootstrap start
    My Starter.Properties looks like this:
    # Jars to load by inner classloader.
    # Use semicolons to separate the JAR entries
    ClassPath=apm_monitor.jar;asm-all-3.3.1.jar;apm_producers.jar
    # Path to pmonitor.config
    MonitorConfigFileName=pmonitor.config.xml
    # Path to SEAgent.config
    AgentConfigFileName=SEAgent.config.xml
    # Log file name
    # Example for full-path location:
    #                  LogFileName=c:\\tracelog\\apm-java-agent.log
    # Example for relative path (to agent jar files):
    #                  LogFileName=apm-java-agent.log
    LogFileName=apm-java-agent.log
    # Log level (SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST)
    # A level of FINER or FINEST may expose Personally identifiable
    # information (PII) in the log file.  The levels below INFO are
    # intended for debugging and diagnostic use only.
    LogLevel=FINEST
    The 'apm-java-agent.log' is not created on the system. The only logging is done in the catalina.out. When restarting tomcat I see the following entries in te log file:
    INFO: Initializing Java APM Agent (Build: 1.10.100.15, Label: NotFromLabel, BuildDate: 20131112)
    Mar 06, 2014 9:35:21 AM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger info
    INFO: Java APM Agent loading succeeded (Build: 1.10.100.15, Label: NotFromLabel, BuildDate: 20131112)
    Mar 06, 2014 9:35:21 AM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger info
    INFO: Initializing Java APM Agent (Build: 1.10.100.15, Label: NotFromLabel, BuildDate: 20131112)
    Mar 06, 2014 9:35:21 AM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger warning
    WARNING: Failed registering the COUNTER MBean
    Mar 06, 2014 9:35:21 AM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger error
    SEVERE: Java APM Agent initialization failed: SEAgent.config.xml does not have a valid event sender configured
    Mar 06, 2014 9:35:21 AM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger info
    INFO: Java APM Agent loading failed (Build: 1.10.100.15, Label: NotFromLabel, BuildDate: 20131112)
    Hope this gives your some more background around my problem, I double checked the permissions..

  • FCP X does not recognize projects and events on USB drive after a time machine restore of the MBP macintosh disk

    FCP X does not recognize projects and events on USB drive after a time machine restore of the MBP macintosh disk.
    I upgraded from an i5 to an i7 15" MBP and restored my files using my time machine backup. All seemed to go ok, except I had to use the migration assistant because on the initial boot the MAC didn't recognize the backup database on the USB device. MAybe this is a hint.
    Since when I start FCPX it too cannot finnd the project or event directories.
    Before my upgrade, I had a choice of files either on the Macintosh disk or the 2TB USB disk.
    Now only files on the Macintosh are accessible to FCPX. The USB drive is visible under events and project but it finds no projects or events.
    Please help if you can.
    Thanks
    Barry

    Thanks... alas no one has responded.
    I think I have the structure that you are recommending.
    I have a root level directory (Final Cut Events) with the files in them.
    The puzzling thing is that it used to work before the migration!.
    Anyway I'm going to move the contents to the root and see what happens.
    On a slightly different note...
    I also posted a question about CPU utilization. Can I ask a question or two?
    While rendering a short clip, I noticed burst of disk activity when the render started (likely loading the media files into ram since I have about 4Gigs available, then almost no activity while the render is happening, then more disk activity when its done.
    However the cpu activity is not as high as I would have expected since rendering requires a lot of cpu.
    What is your experience? I know some render is done by the GPU, but in my older i5 the CPU was about 100%, now in my i7 its about 50%.
    Please look at the attached utilization for CPU and disk activity.
    Thanks for any thoughts... Barry

  • HT1343 shutdown dialouge box is open, mouse does not respond, command keys do not respond, how to restart?

    shutdown dialouge box is open, mouse does not respond, command keys do not respond, how to restart?

    Hold the power button down for an extended amount to force quit. .

  • When attempting to add an event to my calendar and I press "done," I receive a message that reads "Cannot Save Event." "That event does not belong to that event store." What can I do remedy this issue?

    When attempting to add an event to my calendar and I press "Done," I receive a message that reads "Cannot Save Event," "That event does not belong to that event store." How do I remedy this problem so I can add events and appointments to my calendar?

    i am having the exact same problem, same messages (no end date set; cannot save; no calendar set; event does not belong to that event store."
    it is unbelievable to me that this issue existed so long ago and hasn't been fixed. I just bought my first apple product (iphone4s) and am ready to toss it. Despite hours of searching on these forums I have been unable to find out how to fix my calendar. I have rebooted, adjusted settings to no avail. without a calendar, i can't use this product. Also, i am not technologically brilliant and can't handle the advanced fixes that some people recommend.
    question, is apple a product for the ignorant like me? or should i go back to nuts and bolts pc?
    all i really want is to be able to use the calendar without "uploading, reprogramming, contacting support offices for 3 hours, contacting network administrators, upgrading, switching fonts, changing operating systems.... etc. " I am just a regular person who needs a portable calendar.
    sorry to vent, but can anybody tell me (in simple terms) how to get my calendar to accept a simple apointment?
    thank you.

  • Rep-52005 specified key PSREP does not exist in key map file

    Hi there,
    i am trying to reduce the length of my URL when calling a report (9iDS) from a parameter form
    in 9i using web.show_document(url,'target'). I have defined a key "psrep" at the end of my cgicmd file at reports\conf . The error i get is
    rep-52005 specified key PSREP does not exist in key map file.Stuck here.
    Any help gr8ly appreciated.
    Regards.

    uncomment #KEYPMAPFILE=CGICMD.DAT. remove the #
    then for development set
    reloadkeymap=yes (same file - rwservlet.properties).
    Now it should reload everytime. (otherwise for every change u need to restart oc4j_bi_forms)
    (For * production* may be you want to set reloadkeymap=no once all testing is done)
    see cgicmd.dat for many examples of using keymap file
    [ All Docs for all versions ]
    http://otn.oracle.com/documentation/reports.html
    [ Publishing reports to web - 10G ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [ Building reports - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [ Forms Reports Integration whitepaper 9i/10g ]
    9i - http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    10g - http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
    http://www.oracle.com/technology/products/forms/techlisting10g.html
    ---------------------------------------------------------------------------------

  • Getting the Entity does not have a key defined but it actually does.

    So I am trying to use EF 6 with the AdventureWorks database to build out some web api services.
    Everything was going well until I added the EmployeeDepartmentHistory table and then I keep getting the  "The entity "EmployeeDepartmentHistory' does not have a key defined."
    But here is my edmx file which does have it defined.
    edmx:
    <EntityType Name="EmployeeDepartmentHistory">
    <Key>
    <PropertyRef Name="BusinessEntityID" />
    <PropertyRef Name="DepartmentID" />
    <PropertyRef Name="ShiftID" />
    <PropertyRef Name="StartDate" />
    </Key>
    <Property Name="BusinessEntityID" Type="int" Nullable="false" />
    <Property Name="DepartmentID" Type="smallint" Nullable="false" />
    <Property Name="ShiftID" Type="tinyint" Nullable="false" />
    <Property Name="StartDate" Type="date" Nullable="false" />
    <Property Name="EndDate" Type="date" />
    <Property Name="ModifiedDate" Type="datetime" Nullable="false" />
    </EntityType>
    <EntityType Name="EmployeeDepartmentHistory" Abstract="false">
    <Key>
    <PropertyRef Name="BusinessEntityID" />
    <PropertyRef Name="DepartmentID" />
    <PropertyRef Name="ShiftID" />
    <PropertyRef Name="StartDate" />
    </Key>
    <Property Name="BusinessEntityID" Type="Int32" Nullable="false"/>
    <Property Name="DepartmentID" Type="Int16" Nullable="false" />
    <Property Name="ShiftID" Type="Byte" Nullable="false" />
    <Property Name="StartDate" Type="DateTime" Nullable="false" Precision="0" />
    <Property Name="EndDate" Type="DateTime" Precision="0" />
    <Property Name="ModifiedDate" Type="DateTime" Nullable="false" Precision="3" />
    <NavigationProperty Name="Department" Relationship="AdventureWorks2012Model.FK_EmployeeDepartmentHistory_Department_DepartmentID" FromRole="EmployeeDepartmentHistory" ToRole="Department" />
    <NavigationProperty Name="Employee" Relationship="AdventureWorks2012Model.FK_EmployeeDepartmentHistory_Employee_BusinessEntityID" FromRole="EmployeeDepartmentHistory" ToRole="Employee" />
    <NavigationProperty Name="Shift" Relationship="AdventureWorks2012Model.FK_EmployeeDepartmentHistory_Shift_ShiftID" FromRole="EmployeeDepartmentHistory" ToRole="Shift" />
    </EntityType>
    Please help I've been stuck on this for days. I've tried deleting it and re-adding it but to no avail.

    EmployeeDepartmentHistory and this table itself has a primary key on it?

Maybe you are looking for