Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need code to create remote views from local views
Message
From
02/05/2008 03:42:34
 
 
To
01/05/2008 14:00:48
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01314564
Message ID:
01314715
Views:
14
This message has been marked as the solution to the initial question of the thread.
>need code to create remote views from local views like upsize wizard.
>i don't want to use upsize wizard because sending datas from larges tables take a long time.
>i prefere using sqlserver dts to import datas.

You can "read" your current view definitions via DbGetProp(), ADbObjects() etc., see also gendbc.prg in Vfp's Home()+'tools\gendbc' folder.

And then modify them, insert "Remote Connect" clauses for example, either manually or even programmatically.
At that point, the backend syntax matters so that for example VFP functions like DateTime() or Iif() must be replaced with their equivalents in your particular backend syntax, say "To_Date()" and "Case When" in Oracle.


hth
-Stefan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform