Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text limitation in expression builder
Message
De
26/10/2001 14:59:01
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00573790
Message ID:
00573880
Vues:
26
>Hi again Steve,
>Sorry for the barrage of questions but I still can't get it to work yet.
>I changed the name to calcrecs() and when I run it it brings up the calcrecs.prg file and shows an error reading "Syntax error" but I am using the a shorter version of the calculation that worked in the expression. It's in this format: table1.field1+table2.field2+table3.field3
>Thanks again for your help!
>Max
>
>>>Hello Max,
>
>>>The expression would be: calculate()
>>>
>>>(you need the parenthesis)
>
>>>I don't know if I would call it calculate though, because that is a reserved word. Make sure the program file is in your path (or in the current directory), >>or you can use the SET PROCEDURE TO myprogram ADDITIVE before running the >>report.
>>>Steve Gibson

No problem, Max. Do something like this.
* calcregs.prg
local lReturnValue

lReturnValue = table1.field1 + table1.field2

return lReturnValue
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform