I've got a table with one field (id) and one row (id = 1)
I've got a query based on the table that calls a function
select func(id) as idText from table
The function 'func' is
public function func(strId as string) as string
func = strId
end function
If I run the query with a breakpoint on 'func = strId', it gets hit
once
If I create a report based on this query and place the field 'idText'
in the detail portion of the report... the breakpoint above is hit
once when I run the report... so far ... ok
If I add a on-print event
if [idtext]="2" then
stop
end if
the breakpoint in the function above gets hit twice ?
why ?
is there away to prevent this, since my final function will update
global variables that I don't want to double up ???
I thought [idtext] would refer to the report field that already had a
value ...