Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can you change the expression in multiple records....
Message
 
À
05/10/2000 12:40:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00424294
Message ID:
00425528
Vues:
15
>>Rob, EXPR is the field in myReport.FRX which contains the expression you specify for the report control you place onto report.
>>
>>REPLACE ALL EXPR WITH MyNewExpression FOR objtype = 8
>>will replace the expression for all report fields with myNewExpression
>>
>>REPLACE ALL EXPR WITH '"'+'My new text for all labels'+'"' FOR objtype = 5
>>will change all labels text.
>>
>>The first record of the report file contains the report options in EXPR field like:
>>ORIENTATION=1
>>PAPERSIZE=1
>>PAPERLENGTH=2794
>>PAPERWIDTH=2159
>>COPIES=1
>>etc.
>Hi Nick: The EXPR I want to change is the "Expression for a Field on Report"
>in the Expression Builder. I would like to run a REPLACE ALL. Do I need to
>know the OBJTYPE?

It goes into EXPR field in .FRX. Yes, you need to know OBJTYPE and for the report field
OBJTYPE = 8
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform