Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Remote View Problem with PostgreSQL
Message
From
27/02/2001 14:21:02
Liam O'Hagan
O'Hagan Programming Ltd
Ireland
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
VFP Remote View Problem with PostgreSQL
Miscellaneous
Thread ID:
00480232
Message ID:
00480232
Views:
49
Hi All,

I'm experimenting with PostgreSQL on Linux and am having problems creating remote views.

Specifically, when I try to add a table to a new remote view from the selection of tables that it finds in the database, I get the error :
Connectivity error: Error while executing the query;
ERROR: parser: parser error at or near "."
An extract from the ODBC trace log is at the bottom of this post if it's helpful.

I have what I believe to be the latest driver (in that I downloaded it only yesterday) - version 6.50.00.00

I have no problems creating tables and executing queries using SPT - only with views.

I've come across others with this problem on the Net but have been unable to find a solution.

Anybody solve this before?

TIA

Liam



ODBC Trace Log Extract
VFP6            ffc0a4e9:ffc24415	ENTER SQLPrepare 
		HSTMT               0x02c702b0
		UCHAR *             0x014c151c [      -3] "SELECT * FROM liam.company\ 0"
		SDWORD                    -3

VFP6            ffc0a4e9:ffc24415	EXIT  SQLPrepare  with return code 0 (SQL_SUCCESS)
		HSTMT               0x02c702b0
		UCHAR *             0x014c151c [      -3] "SELECT * FROM liam.company\ 0"
		SDWORD                    -3

VFP6            ffc0a4e9:ffc24415	ENTER SQLNumResultCols 
		HSTMT               0x02c702b0
		SWORD *             0x00a3e84e

VFP6            ffc0a4e9:ffc24415	EXIT  SQLNumResultCols  with return code -1 (SQL_ERROR)
		HSTMT               0x02c702b0
		SWORD *             0x00a3e84e

		DIAG [S1010] No query has been executed with that handle;
ERROR:  parser: parse error at or near "." (3) 

VFP6            ffc0a4e9:ffc24415	ENTER SQLExecDirect 
		HSTMT               0x02c702b0
		UCHAR *             0x014c151c [      -3] "SELECT * FROM liam.company WHERE 1=0\ 0"
		SDWORD                    -3

VFP6            ffc0a4e9:ffc24415	EXIT  SQLExecDirect  with return code -1 (SQL_ERROR)
		HSTMT               0x02c702b0
		UCHAR *             0x014c151c [      -3] "SELECT * FROM liam.company WHERE 1=0\ 0"
		SDWORD                    -3

		DIAG [S1000] Error while executing the query;
ERROR:  parser: parse error at or near "." (1) 
Liam O'Hagan
MCP VFP Desktop Apps
Next
Reply
Map
View

Click here to load this message in the networking platform