Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PROBLEM: for create a View Remote is need a Connection
Message
From
12/09/2003 05:26:40
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
PROBLEM: for create a View Remote is need a Connection
Miscellaneous
Thread ID:
00828423
Message ID:
00828423
Views:
70
Hi,

for CREATE SQL VIEW MyremoteView REMOTE AS SelectCommand
i need to have a connection.

This give me problems:

1. I cannot create a view programmatically without a backend connection available.
2. I cannot create a view programmatically without a DSN or a CONNECTION defineded on DBC.
3. I cannot edit a view without the binded connection available;
the view property "ConnectName" is ReadOnly, and i cannot use DBSETPROP()
for redefine it.

Yes, VFP need this for build VIEW properties, but if i create view
only for use it with runtime CONNECTIONSTRING or ConnectionHandle
( for safety reasons ) this is a annoying behaviour.

A solution is CREATE CONNECTION - CREATE VIEW - DROP CONNECTION, but this
not resolve the safety problem, because i need to redefine the VIEW at runtime.

Exist a solution simple?

Exist a solution with DBC Table editing ( FAQ-link-Thread )?

Fabio
Next
Reply
Map
View

Click here to load this message in the networking platform