General information
Category:
Reports & Report designer
>>>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only