Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Execute a Procedure from Field in A report
Message
From
26/02/1998 12:39:30
 
 
To
26/02/1998 11:30:21
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00081095
Message ID:
00081438
Views:
21
>>>>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.

I understand Cetin to say that the '=' should be removed, AND not to expect
it to move any pointers in any database. This I did not consider to be of any
use to me. And if anyone was reading the thread of this message they would
see that 'Mark E. McCasland' following answer was sufficent:

" If I remember correctly, you do not use the equal sign."

Russ
Previous
Reply
Map
View

Click here to load this message in the networking platform