Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create a prg DE
Message
De
22/04/2004 04:26:01
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00896777
Message ID:
00897123
Vues:
19
>Hello Cetin, I took a look at the unde program you suggested but it's not what I require. What it does is generate code to open tables and set relations, what my code "did" was generate class definitions for all de objects e.g.
>
>if I had a view called view_claims in my forms de, my program would create a prg file containing the code below, which enabled me to specify what DE and cursor class I wished to use
>
>
>Define Class MyDEClass as PK_VFPDEBase
>	InitialSelectedAlias = "view_claims"
>	Name = "PKDataenvironment"
>	Function Init()
>   	    This.NewObject("CursorClaims","pkCSRUpdate")
>	    With This.CursorClaims
>		.Comment = "Claim Headers"
>		.Alias = "view_claims"
>		.BufferModeOverride = 5
>		.Database ="employee.dbc"
>		.CursorSource = "view_claims"
>		.Name = "CursorClaims"
>	     EndWith
>		DoDefault() && Open tables
>	EndFunc
>EndDefine
>
>
>I suppose I better get coding as I've got lots of forms to do, thanks for your help

I didn't check them but I think Nancy's link should be the one.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform