Not getting the records from Access database

Hi All,
Iam creating a universe based on Access database. I am able to view the data from all the tables except one table. When i try to view the data there is one error message "Syntax error in from clause, State: 37000". Everything is ok at database side. What does this error means?
Please help me on this.
Thanks.

Hi BOCP,
       Thanks for your reply. I have resolved my issue. Actually my issue was, I have a table "Date" in universe which was created in Access database, when i tried to view the Date Table values in Universe i was getting that Syntax error in From clause message. I came to know that Date is a keyword or predefined table in WebI & it wont accept that word as a user defined Table. So i renamed that table in Access and Universe. Now my issue was solved.
Thanks,
Swati.

Similar Messages

  • How to get the data from mysql database which is being accessed by a PHP application and process the data locally in adobe air application and finally commit the changes back in to mysql database through the PHP application.

    How to get the data from mysql database which is being accessed by a PHP application and process the data locally in adobe air application and finally commit the changes back in to mysql database through the PHP application.

    If the data is on a remote server (for example, PHP running on a web server, talking to a MySQL server) then you do this in an AIR application the same way you would do it with any Flex application (or ajax application, if you're building your AIR app in HTML/JS).
    That's a broad answer, but in fact there are lots of ways to communicate between Flex and PHP. The most common and best in most cases is to use AMFPHP (http://amfphp.org/) or the new ZEND AMF support in the Zend Framework.
    This page is a good starting point for learning about Flex and PHP communication:
    http://www.adobe.com/devnet/flex/flex_php.html
    Also, in Flash Builder 4 they've added a lot of remote-data-connection functionality, including a lot that's designed for PHP. Take a look at the Flash Builder 4 public beta for more on that: http://labs.adobe.com/technologies/flashbuilder4/

  • How to get the value from a database without submitting a jsp page

    I have a jsp which has a text box depending on the value entered I want to get the value from a database for other two fields with out submitting jsp page. I am using struts.
    Thanks For any assistance provided.

    Alright,here is an example for you for the first case.
    Present.jsp:
    ============
    <html:html>
    <head>
    <title><html:message key="page.title"/></title>
    </head>
    <body>
    <html:form action="ChangeEvent.do">
    <html:hidden property="method"/>
    <!-- Submitting the Form onKeyUp of EmpId field and trying to save the
         state of the Form in the scope of session -->
    Emp Id:<html:text property="empId" size="5"  onkeyup="if(true){this.form.elements[0].value='populateDetails';this.form.submit();}"/>
    Emp Name:<html:text property="empName" size="10" />
    Email Address:<html:text property="email" size="10" />
    <html:submit>Submit</html:submit>
    </html:form>
    </body>
    </html:html>struts-config.xml:
    ==================
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
    <struts-config>
    <!-- Form bean which stores the properties of all the Form elements -->
    <form-beans>
    <form-bean name="employeeFormBean" type="org.apache.struts.action.DynaActionForm">
       <form-property name="empId" type="java.lang.String"/>
       <form-property name="empName" type="java.lang.String"/>
       <form-property name="email" type="java.lang.String" />   
    </form-bean>
    </form-bean>
    <action-mappings>
    <action path="/ChangeEvent" type="Test.GetChangeAction" name="employeeFormBean" scope="request" parameter="method"> 
    <!-- On successful call of DB the Page has to be forwarded to the same page again by
          uploading updated form bean values. -->
    <forward name="success" path="/Present.jsp"></forward>
    <forward name="failed" path="/error.jsp"></forward>
    </action>
    </action-mappings>
    </struts-config>GetChangeAction.java:
    =====================
    public class GetChangeAction extends DispatchAction{
      public ActionForward populateDetails(ActionMapping mapping,ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
            DynaActionForm dForm = (DynaActionForm)form;
            String empId = dForm.get("empId");     
            // calling Model / Db and then getting back Employee Details
            EmployeeBean eb = ModelUtils.getDetails(empId);
            // Updating form bean by updating values from the Model 
            dForm.set("empName".eb.getEmpName()); 
            dForm.set("email".eb.getEmail());
            return mapping.findForward("success");
    }well to me this should work regardless to any browser but we need to make sure we put in our logic properly.

  • Can not get the agent from rule determination

    Dear expert,
      We have a PR workflow,for one step, the agent is determined by one rule,In our Q system,everythink is ok to get the agent correctly,and the workflow also can works.but in our P system,can not get the agent from the rule,when we simulate the rule,the agent can be get smoothly,but in workflow,realy can't get the agent(after trace the workflow), so would you like to give me sone suggestion, whant had happen in our workflow?
    Many thanks!
    Best Regards,
    Kerry

    Tks!
    I have one question,how to check the agent assignment is active?
    and also want to say,the rule that determin the responsible agent is used at one step of the workflow,not for possible agent of task ,and the rule's type is RESPONSIBILITIES.
    Best Regards
    Edited by: Kerry Wang on Jun 25, 2010 3:14 AM

  • HT2905 can someone please tell me why I do not get the delete from disk option when trying to delete duplicate items

    can someone please tell me why I do not get the delete from disk option when trying to delete duplicate items

    The content must be in the iTunes directory structure for that option to appear.

  • Form does not show "new" records from SQL Database

    I have a PDF form that pulls data from a SQL Server.  The fields in
    the PDF are populated from the database after selecting a specific
    record from a drop down and then clicking on a button labeled "Fill".
    The problem is that the dropdown does not display new records that
    have been recently added to the database.  I have to open the form up
    in designer then save it, (*note - I change nothing at this point.)
    Then when the form is opened back up in Adobe the dropdown show all
    the records including the new ones.  I even put a manual refresh on
    form to try and fix this an it did not help. Seriously stumped.
    Any help is greatly appreciated.
    Here is my code for the dropdown.
    ++++++++++++++++++++++++++++
    topmostSubform.Page1.JobSelect::initialize - (JavaScript, client)
    var sDataConnectionName = "BBCC"; // example - var sDataConnectionName
    = "Test";
    var sColHiddenValue = "ContractAdmin_Key"; // example - var
    sColHiddenValue = "Dept_ID";
    var sColDisplayText = "JobDescription"; // example - var
    sColDisplayText = "Dept_ID"
    // Search for sourceSet node which matchs the DataConnection name
    var nIndex = 0;
    while(xfa.sourceSet.nodes.item(nIndex).name != sDataConnectionName)
    nIndex++;
    var oDB = xfa.sourceSet.nodes.item(nIndex);
    oDB.open();
    oDB.first();
    // Search node with the class name "command"
    var nDBIndex = 0;
    while(oDB.nodes.item(nDBIndex).className != "command")
    nDBIndex++;
    // Backup the original settings before assigning BOF and EOF to stay
    var sBOFBackup =
    oDB.nodes.item(nDBIndex).query.recordSet.getAttribute("bofAction");
    var sEOFBackup =
    oDB.nodes.item(nDBIndex).query.recordSet.getAttribute("eofAction");
    oDB.nodes.item(nDBIndex).query.recordSet.setAttribute("stayBOF",
    "bofAction");
    oDB.nodes.item(nDBIndex).query.recordSet.setAttribute("stayEOF",
    "eofAction");
    // Clear the list
    this.clearItems();
    // Search for the record node with the matching Data Connection name
    nIndex = 0;
    while(xfa.record.nodes.item(nIndex).name != sDataConnectionName)
    nIndex++;
    var oRecord = xfa.record.nodes.item(nIndex);
    // Find the value node
    var oValueNode = null;
    var oTextNode = null;
    for(var nColIndex = 0; nColIndex < oRecord.nodes.length; nColIndex++)
    { if(oRecord.nodes.item(nColIndex).name == sColHiddenValue)
    { oValueNode = oRecord.nodes.item(nColIndex); } else
    if(oRecord.nodes.item(nColIndex).name == sColDisplayText) { oTextNode
    = oRecord.nodes.item(nColIndex); } }
    while(!oDB.isEOF())
      this.addItem(oTextNode.value, oValueNode.value);
       oDB.next();
    // Restore the original settings
    oDB.nodes.item(nDBIndex).query.recordSet.setAttribute(sBOFBackup,
    "bofAction");
    oDB.nodes.item(nDBIndex).query.recordSet.setAttribute(sEOFBackup,
    "eofAction");
    // Close connection
    oDB.close();
    ++++++++++++++++++++++
    Here is code for the refresh button
    +++++++++++++++++++++
    topmostSubform.Page1.Button27::click - (JavaScript, client)
    sourceSet.BBCC.requery();
    +++++++++++++++++++++

    pguerett wrote:
    The other thing that might be happening is a refresh issue on the DropDownList. Try adding the command xfa.layout.relayout() after the database connection has been closed.
    Paul
    Good catch Paul!  Would you believe that I have been trying to get this resolved for almost two years! Works perfect now.
    Thank you,
      - Eric

  • Am unable to get the data from Sys.databases when i use where condition for column owner_sid

     
    Hi all,
    Help me here when i try am unable to get a data,Can some one help me with a query to get.
    If it cant be done can i know why..
     select * from Sys.databases
      where owner_sid='0x01'
    What am trying is to get a login
    names from syslogin
    table with respect to Sid.
    Select a.name,b.name,a.owner_sid from Sys.databases a
      Join Syslogins b
      on a.owner_sid = b.sid
      where owner_sid like '0x01'
    Thanks all in Advance.....

    Below are a couple of examples of how to accomplish the task.  Note that SID is varbinary so the literal should not be enclosed in quotes.
    SELECT
    a.name AS DatabaseName
    ,b.name AS OwnerName
    ,a.owner_sid AS OwnerSID
    FROM sys.databases a
    JOIN sys.server_principals b ON
    a.owner_sid = b.sid
    WHERE owner_sid = 0x01;
    SELECT
    a.name AS DatabaseName
    ,SUSER_SNAME(owner_sid) AS OwnerName
    ,a.owner_sid AS OwnerSID
    FROM sys.databases a
    WHERE a.owner_sid = 0x01;
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • Search for a record from Access Database, and populate records in Drop Down List, and View It

    Hi,
    I created a PDF form where I have open, next, previous buttons, and I'm able to connect to the access database, and it's working fine. Now, I want to be able to search by last name from the access database, and retrieve the results in a dropdown field, and then once i select the records in the drop downlist, i want to press a button to display the record. I have multiple records with the same last name. Please help, I searched the internet for hours, and can't find something similar. Your help is appreciated, and sample code is appreciated.

    <%
    int count = 0;
    while (rs1.next()){ %>
    <%if (count ==0)
    {%>
    <option value="<%=inputorthodon%>" selected >
    <%=rs1.getString("ortho_name")%></option>
    <%}
    else{%>
    <option value="<%=inputorthodon%>">
    <%=rs1.getString("ortho_name")%></option>
    <%}
    ++count;} %>
    </select>
    U may have to format this a bit. The idea is to use a count variable to put "selected" in only the first OPTION. After that, we don't have to.
    Hope this helps.

  • CUBE Not getting All records from DSO

    Hi Experts ,
    We have a situation where we have to load data from a DSO to a Cube . The DSO contains only 9 records and while we r loading the data into cube , the cube is only getting 2 records . Thus 7 records are missing. Also The Cube contains more Fields  than DSO. in the transformations , for the extra fields we have written end routine and those extra fields will get data by reading master data .. Any pointers how to get the missing records or what is the error ...
    Sam

    Why multiple threads ????

  • Full update not getting all records from PSA to ODS

    Dear BW Masters,
    I am working with MM module. Iam using standard extract structure 2LIS_02_ACC
    Iam doing full update. Getting full data 1300 records in to PSA. But getting only 298 in to my ODS. I tried changing fields in to KEY FIELDS AND IN TO DATA FIELDS in my ODS
    But could not get data.
    Pls help me..i have dead line before that i need to complete report on the same.
    Its happening with the other HDR and ITM extractors.
    PLs help me..

    Hello,
    Look at this example:
    R/3 Record:
    CustNo | Name | Order | Amount
    1234 | Customer1 | Order 1 | 100
    1235 | Customer2 | Order 2 | 200
    1234 | Customer1 | Order 3 | 300
    If Cust.No is Keyfield, In BW you will get 2 records
    1234
    1235
    If Order No is Key field, you will get 3 records.
    It is not necessary to get the same no of records as they are in R/3.

  • I did not get the purchase from planetside 2

    i just bought the Heroic Boost Bundle (Game Pack) from the ps store. but i haven't got it in game or been able to download it yet . can i get my money back or do i somehow get to download the Heroic Boost Bundle (Game Pack)

    I had this happen to me also, I was in the game when I bought it and I was not getting it even if I restarted the game. I just reset my ps4 and it gave it too me when I started the game.

  • TS1398 i have a iPhone 4. I am trying to connect to the Wifi at my house, and other places that have free WiFi. I can not get the phone to access any networks in order to connect. Could someone please help me try to figure this out.

    I just recently purchased a iPhone 4. I am using it as Prepaid for Verizon. I only get a certain amount of data time, and was trying to use the wifi at my house in order to do somethings online without using my prepaid data, but for some reason it will not pick up the wifi at all, and when i try all the different things I have been told to try it still does not work, how do I get the wifi to work?

    You didn't say what you have already tried, but if you haven't already done so, power-cycle your router (unplug it for 15 seconds then plug it back in), then on your phone go to Settings>General>Reset and tap Reset Network Settings, then try joining your wifi again.

  • Application process is not getting the data from table

    I have created the following application process based on AJAX select value but using a pop up LOV
    DECLARE
    my_det VARCHAR2 (200);
    BEGIN
    SELECT DM_00010_CUST_NAME INTO my_det
    FROM ODM_MD_00010
    WHERE DM_00010_CUST_CODE = nvl(:P11_DT_00020_CUST_CODE,21);
    exception when no_data_found then null;
    HTP.prn (my_det);
    END;
    the process is getting no data found error ( hence the exception) so I am getting NULL in the name field on screen.
    any help ?

    the javascript I have in the region header is:
    <script language="JavaScript" type="text/javascript">
    function f_getDet ()
    var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=getDet',0);
    get.add('P11_DT_00020_CUST_CODE',html_GetElement('P11_DT_00020_CUST_CODE').value)
    gReturn = get.get();
    if(gReturn)
    {  html_GetElement('P11_DT_00020_CUST_NAME').value = gReturn  }
    else
    {  html_GetElement('P11_DT_00020_CUST_NAME').value = 'null'  }
    get = null;
    </script>

  • I use Cisco DHCP I can not get the IP from manual binding.

    Good day,
    I am using a Router Cisco 1841 as DHCP Server and I trying to configure a manual binding but is not working, here is the configuration:
    Router#sh run
    Building configuration...
    Current configuration : 1026 bytes
    version 12.3
    service timestamps debug datetime msec
    service timestamps log datetime msec
    no service password-encryption
    hostname Router
    boot-start-marker
    boot system flash c1841-adventerprisek9-mz.123-11.T10.bin
    boot-end-marker
    mmi polling-interval 60
    no mmi auto-configure
    no mmi pvc
    mmi snmp-timeout 180
    no aaa new-model
    ip subnet-zero
    ip cef
    ip dhcp excluded-address 172.16.12.1
    ip dhcp pool Test
    host 172.16.12.254
    hardware-address 0100.016c.cbaf.31
    client-name Test01
    ip ips po max-events 100
    no ftp-server write-enable
    no crypto isakmp ccm
    interface FastEthernet0/0
    ip address 172.16.12.1 255.255.254.0
    speed 100
    full-duplex
    interface FastEthernet0/1
    no ip address
    shutdown
    duplex auto
    speed auto
    interface ATM0/0/0
    no ip address
    shutdown
    no atm ilmi-keepalive
    dsl operating-mode auto
    interface Serial0/1/0
    no ip address
    shutdown
    no fair-queue
    clockrate 2000000
    ip classless
    ip http server
    no ip http secure-server
    control-plane
    line con 0
    line aux 0
    line vty 0 4
    login
    end
    Router#sh ver
    Cisco IOS Software, 1841 Software (C1841-ADVENTERPRISEK9-M), Version 12.3(11)T10, RELEASE SOFTWARE (fc4)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2006 by Cisco Systems, Inc.
    Compiled Fri 03-Mar-06 17:40 by dchih
    ROM: System Bootstrap, Version 12.3(8r)T9, RELEASE SOFTWARE (fc1)
    ROM: Cisco IOS Software, 1841 Software (C1841-ADVSECURITYK9-M), Version 12.4(3c), RELEASE SOFTWARE (fc1)
    Router uptime is 4 minutes
    System returned to ROM by power-on
    System image file is "flash:c1841-adventerprisek9-mz.123-11.T10.bin"
    This product contains cryptographic features and is subject to United
    States and local country laws governing import, export, transfer and
    use. Delivery of Cisco cryptographic products does not imply
    third-party authority to import, export, distribute or use encryption.
    Importers, exporters, distributors and users are responsible for
    compliance with U.S. and local country laws. By using this product you
    agree to comply with applicable laws and regulations. If you are unable
    to comply with U.S. and local laws, return this product immediately.
    A summary of U.S. laws governing Cisco cryptographic products may be found at:
    http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
    If you require further assistance please contact us by sending email to
    [email protected].
    Cisco 1841 (revision 6.0) with 236544K/25600K bytes of memory.
    Processor board ID FTX1013W27Q
    2 FastEthernet interfaces
    1 Serial(sync/async) interface
    1 ATM interface
    1 Virtual Private Network (VPN) Module
    DRAM configuration is 64 bits wide with parity disabled.
    191K bytes of NVRAM.
    62720K bytes of ATA CompactFlash (Read/Write)
    Configuration register is 0x2102
    Router#
    Thank You Very Much
    Regards
    HG

    Hello Hernan,
    The provided MAC address contains an ethernet media type. Try changing the ethernet media type to .66 as per documentation.
    hardware-address 0100.016c.cbaf.31
    -------------------------------------------^
    Alternatively you can remove the last three characters ".31" from the configuration.
    http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cg/hiad_c/ch10/hipdhcps.htm#wp1074511
    Use "debug ip dhcp server" to see what happens during DHCP negotiation with client/server.
    HTH
    --Leon
    * Please rate posts.

  • Java could not get the TGT from cache in Linux client.

    Dear friends,
    I have set up the kerberos server and OpenLDAP in RHEL5.5. I also have a RHEL6 as a client.
    I have ran my java program using jaas to query the openldap server from the linux client.
    1) I can query the openldap server If I copy the client's keytab to the client machine and use the following configruation options
         principal=wpingli
    useKeyTab=true
    keyTab="/home/wpingli/ker/java/wpingli_new.keytab";
    2) I also can query the openldap server If I am prompted to input the user/password.
    This makes me believe that my enviroment is ok.
    But I could not be sucessful if I run the java program after the kinit command.
    klist wpingli
    [wpingli@pli java]$ klist
    Ticket cache: FILE:/tmp/krb5cc_500
    Default principal: [email protected]
    Valid starting Expires Service principal
    10/20/11 16:18:06 10/21/11 16:18:02 krbtgt/[email protected]
    jaas configuration
    GssExampleSUN{
    com.sun.security.auth.module.Krb5LoginModule required
    client=true
    debug=true
    doNotPrompt=true
    useTicketCache=true
    ticketCache="/tmp/krb5cc_500";
    Exception:
    Debug is true storeKey false useTicketCache true useKeyTab false doNotPrompt true ticketCache is /tmp/krb5cc_500 isInitiator true KeyTab is null refreshKrb5Config is false principal is null tryFirstPass is false useFirstPass is false storePass is false clearPass is false
    Acquire TGT from Cache
    Principal is null
    null credentials from Ticket Cache
    *[Krb5LoginModule] authentication failed*
    Unable to obtain Princpal Name for authentication
    Authentication attempt failedjavax.security.auth.login.LoginException: Unable to obtain Princpal Name for authentication
    Does anyone have idea on this problem?
    Thanks,
    Ricky

    Dear friends,
    I have set up the kerberos server and OpenLDAP in RHEL5.5. I also have a RHEL6 as a client.
    I have ran my java program using jaas to query the openldap server from the linux client.
    1) I can query the openldap server If I copy the client's keytab to the client machine and use the following configruation options
         principal=wpingli
    useKeyTab=true
    keyTab="/home/wpingli/ker/java/wpingli_new.keytab";
    2) I also can query the openldap server If I am prompted to input the user/password.
    This makes me believe that my enviroment is ok.
    But I could not be sucessful if I run the java program after the kinit command.
    klist wpingli
    [wpingli@pli java]$ klist
    Ticket cache: FILE:/tmp/krb5cc_500
    Default principal: [email protected]
    Valid starting Expires Service principal
    10/20/11 16:18:06 10/21/11 16:18:02 krbtgt/[email protected]
    jaas configuration
    GssExampleSUN{
    com.sun.security.auth.module.Krb5LoginModule required
    client=true
    debug=true
    doNotPrompt=true
    useTicketCache=true
    ticketCache="/tmp/krb5cc_500";
    Exception:
    Debug is true storeKey false useTicketCache true useKeyTab false doNotPrompt true ticketCache is /tmp/krb5cc_500 isInitiator true KeyTab is null refreshKrb5Config is false principal is null tryFirstPass is false useFirstPass is false storePass is false clearPass is false
    Acquire TGT from Cache
    Principal is null
    null credentials from Ticket Cache
    *[Krb5LoginModule] authentication failed*
    Unable to obtain Princpal Name for authentication
    Authentication attempt failedjavax.security.auth.login.LoginException: Unable to obtain Princpal Name for authentication
    Does anyone have idea on this problem?
    Thanks,
    Ricky

Maybe you are looking for

  • DCGR and DCIn not created in FO

    We want to have separate GL for excise duty posted for framework order. Kindly advise how to go about it. At present, the pricing conditions for which DCGR is generated will only be applicable in case of material. It is not used for the service PO/fr

  • Problem with LOB

    Hi everybody, I want to extract a row from a database DB2. This row containt a BLOB column. I want to extract this column but i cann't do it !!! Why???? here is the code: while (rs.next()) recCount++; System.out.println("Number of records = "+recCoun

  • Query related to Information broadcasting

    Hi, I just want to know how many workbooks can be broadcasted at a given point of time to the users via email. How do i know if there is a limit to this option. Thanks.

  • Tunneling result not OK,

    Hi, What can you tell me about the following exception that I get trying to call a bean on Weblogic 6.1. My program tries to take the connection for several minutes and then java console shows the exception below. The problem doesn't occur when I tak

  • Transferring photos to the ipod nano

    Hi! I've watched the ipod nano tutorial and done excactly what it said, but still the photos that i transferred won't show up on my ipod nano. Does anyone know what i should do? Thanks /Markus