Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data type is invalid for this property.
Message
De
28/05/2003 11:55:05
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00793523
Message ID:
00793557
Vues:
36
>It is a public variable. I could pass it into all the forms but how would I get it into reports? (I use it there to in the headers.) So, I just figured it would be eaiser on me to keep it public and let all my forms reference it too.

"Report" is a command. It means that anything accesible by the routine executing the 'report' is also accesible by the report. ie:
If you have a method with code :
local lc1, ld1, luSomething, loObj
lc1 = thisform.text1.value
ld1 = this.parent.txtDate.Value
luSomething = thisform.SomeProperty
loObj = createobject('custom')
loObj.Addproperty('c1','CharProp')
loObj.Addproperty('d1',date())
loObj.Addproperty('n1',seconds())

report form myReport preview
Any report field could also use these as expressions:
lc1, thisform.text1.value, ld1, this.parent.txtDate.Value, luSomething , thisform.SomeProperty, loObj.c1, loObj.d1,loObj.n1 etc

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