Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Execute a Procedure from Field in A report
Message
De
26/02/1998 11:30:21
 
 
À
26/02/1998 09:23:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00081095
Message ID:
00081407
Vues:
24
>>>Hello all
>>>
>>>I would like to execute a procedure from a field in a report. So this procedure would be called any time this report template is used.
>>>
>>>Example create a field in the report and enter something like the following:
>>>=getpubid()
>>>This procedure would move the record pointer in some other database than the report is based on.
>>>
>>>The '=getpubid()' is producing a syntax error.
>>>
>>>I remember doing this in Fox2.x, but I forget the syntax I used then.
>>>
>>>Thanks Russell
>>Remove the "=" sign. But moving record pointer is up to you.
>>Cetin
>
>
>If I read your response to my query, you seem to think that I expect the
>characters 'GETPUBID()' to write code for me that would move the pointer
>in another database. I can assure you I already wrote the code, and I thought
>that was clear, So this response to your not very helpful message is to clear up
>any confusion you might have.
>
>Russ
What Cetin said was instead of using "=GETPUBID()" as the value for your field use "GETPUBID()". It is the equal sign that is causing the syntax error.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform