Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remote view based on SPT cursor or connection handle
Message
From
03/04/2005 06:09:15
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Remote view based on SPT cursor or connection handle
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
01001077
Message ID:
01001077
Views:
76
I have a existing connection handle created in application init

nConnHandle = sqlstringconnect( "DRIVER= .... )

I use this for SPT queries.

I want to create remote cursor initialli with no data and use requery() to get data into it.
In my knowledge, SPT cursors does not allow this.
So I need to create remote view. I want to utilize the exisitng connection handle for this remote view.

I tried the code above but got error "not a character expresion".

How to create SPT cursor which does initially not contain data and can be filled with data using requery() ?

or How to create remote view based on specific connection handle?
nConnHandle = sqlstringconnect( "DRIVER=PostgreSQL;" + ;
     "DATABASE=template1;SERVER=localhost;" + ;
     "PORT=5432;UID=postgres;PWD=masterkey;B9=0" )

CREATE DATABASE temp
CREATE SQL VIEW myview REMOTE CONNECTION (nConnHandle) AS SELECT * FROM pg_namespace
Andrus
Next
Reply
Map
View

Click here to load this message in the networking platform