Error 42000 Microsoft Odbc Visual Foxpro Driver Syntax Error
Nov 12, 2007 Experts Exchange >Questions >How do I query FoxPro between dates using ASP. Xpadder 5 8 Rapidshare Download. ERROR [42000] [Microsoft][ODBC Visual FoxPro. A FoxPro query syntax. Feb 13, 2012 ERROR [42000] [Microsoft][ODBC Visual FoxPro. [ODBC Visual FoxPro Driver]Syntax error.
T-SQl,No problem Because, when i change connection string to Jet4.Oledb and so Odbcparameter to Oledbparameter, i dont have any problem and The program works correctly. But I need to Odbc command and visual foxpro connection string, and when i use it,I meet error on Comm.ExecuyeNonquery System.Data.Odbc.OdbcException was caught ErrorCode=- Message=ERROR [42000] [Microsoft][ODBC Visual FoxPro Driver]Syntax error. Source=VFPODBC.DLL StackTrace: at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode) at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod) at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader) at System.Data.Odbc.OdbcCommand.ExecuteNonQuery() InnerException.
Or to Post ->Author Message mehul1511 Forum Member Joined: 30 Jun 2011 Posts: 9 Posted: Thu Jun 30, 2011 9:16 pm Post subject: [Microsoft][ODBC Microsoft Access Driver]Syntax error 42000 Exception: DBD, [Microsoft][ODBC Microsoft Access Driver] Syntax error in FROM clause.State: 42000 Dear friends, I am having this issue since long time now and banging my head on the wall. Firstly while creating the universe when i do a join with a table called TIME with another table ResponseTime.
The DETECT in join properties gives 'unknown cardinality DSG0003' I am doing a join on its primary key called EID to EID in both tables. The database is a.mdb imported from an excel sheet. Secondly if I leave the join with that error and make reports with it using all columns from both the tables, it gives me this error query 1 Universe1 a database error occured. The database error text is Microsoft ODBC Microsoft access driver syntax error in FROM clause WIS 10901 I think the main issue is with the join though. And please let me know if you want further information. Really appreciate it Marek Chladny Forum Advocate Joined: 27 Nov 2003 Posts: 19114 Location: Bratislava Posted: Fri Jul 01, 2011 1:54 am Post subject: Re: [Microsoft][ODBC Microsoft Access Driver]Syntax error 42 [Moderator Note: Moved from WebIntelligence XI to Semantic Layer / Universe Designer] And welcome to B B!
Mark P Forum Devotee Joined: 03 Feb 2003 Posts: 10869 Location: Manchester, UK Posted: Fri Jul 01, 2011 2:59 am Post subject: Re: [Microsoft][ODBC Microsoft Access Driver]Syntax error 42 Can you parse the join successfully? Have you carried out a university integrity test? _________________ Current version I'm using: 4.1 SP3 over Oracle Next available for contract or consultancy work: Jan 2nd 2018 ______________________________________ Prior versions used: BO3,4,5,6.5,XIr2,XI3, 4.1 - yes, I have been using BO since 1996! Mehul1511 Forum Member Joined: 30 Jun 2011 Posts: 9 Posted: Fri Jul 01, 2011 9:01 am Post subject: Re: [Microsoft][ODBC Microsoft Access Driver]Syntax error 42 thank you for your reply mark.
Yes I id the integrety check by it gives an error in PARSE OBJECTS 'parse failed: Invalid definition(UNV0023)' And so does the parse gives the same error as 'Exception: DBD, [Microsoft][ODBC Microsoft Access Driver] Syntax error in FROM clause.State: 42000 ' I should have added it in the first post. The parse error makes me wonder wether if its an issue with some kind of driver of ms access. Also to add I have tried to design the universe in Win 7 and also in Win 2003 server with ms access 2005 db and also with ms access 2007. Thank you very much for looking into this matter. Marek Chladny Forum Advocate Joined: 27 Nov 2003 Posts: 19114 Location: Bratislava Posted: Fri Jul 01, 2011 9:33 am Post subject: Re: [Microsoft][ODBC Microsoft Access Driver]Syntax error 42 Hi, mehul1511 wrote: it gives an error in PARSE OBJECTS 'parse failed: Invalid definition(UNV0023)' What's the definition (Select and Where parts) of objects that do not parse? Can you post the syntax that you used?
Mehul1511 Forum Member Joined: 30 Jun 2011 Posts: 9 Posted: Fri Jul 01, 2011 9:37 am Post subject: Re: [Microsoft][ODBC Microsoft Access Driver]Syntax error 42 I think what you are looking for is this, but please let me know if you meant something else. Time.EID=ResponseTime.EID this is where I parse and getting error here Time is one table with EID as primary key and ResponseTime is another with EID. Please let me know, Mark P Forum Devotee Joined: 03 Feb 2003 Posts: 10869 Location: Manchester, UK Posted: Mon Jul 04, 2011 3:26 am Post subject: Re: [Microsoft][ODBC Microsoft Access Driver]Syntax error 42 mehul1511 wrote: thank you for your reply mark. Yes I id the integrety check by it gives an error in PARSE OBJECTS 'parse failed: Invalid definition(UNV0023)' And so does the parse gives the same error as 'Exception: DBD, [Microsoft][ODBC Microsoft Access Driver] Syntax error in FROM clause.State: 42000 ' I should have added it in the first post. The parse error makes me wonder wether if its an issue with some kind of driver of ms access.
Also to add I have tried to design the universe in Win 7 and also in Win 2003 server with ms access 2005 db and also with ms access 2007. Thank you very much for looking into this matter. What is it that does not parse? If it's a join, have you tried recreating it using the drag and drop functionality within Designer? _________________ Current version I'm using: 4.1 SP3 over Oracle Next available for contract or consultancy work: Jan 2nd 2018 ______________________________________ Prior versions used: BO3,4,5,6. Point Of View Drivers Xp. 5,XIr2,XI3, 4.1 - yes, I have been using BO since 1996!
Debbie Forum Addict Joined: 01 Mar 2005 Posts: 2728 Location: Cheshire, England Posted: Mon Jul 04, 2011 9:27 am Post subject: Re: [Microsoft][ODBC Microsoft Access Driver]Syntax error 42 mehul1511 wrote: I think what you are looking for is this, but please let me know if you meant something else. Time.EID=ResponseTime.EID this is where I parse and getting error here Time is one table with EID as primary key and ResponseTime is another with EID. Please let me know, This is a join? Yet you've said it's an object that does not parse. Have you tried actually setting the cardinality for this join and seeing if it parses? Debbie Display posts from previous: or to Post ->Page 1 of 1 All times are GMT - 5 Hours Jump to: Get community updates via Twitter.