Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need code to create remote views from local views
Message
De
02/05/2008 03:42:34
 
 
À
01/05/2008 14:00:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01314564
Message ID:
01314715
Vues:
15
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform