Why am I losing value in global variable?

Boaz Bezborodko boaz at mirrotek.com
Mon Aug 31 12:31:36 PDT 2009


I have a report where I have the user input a date during selection 
processing.  That variable, 'bf', is established as a global variable in 
the auto processing table.  I then make another variable, 'be'-also 
established in the auto processing table as a global variable, equal to 
the beginning of the month of the first variable.  (be=BOM(bf) in the 
sort/select processing table) Both are listed on the heading of a report.

The problem is that the report 'remembers' 'bf', but lists 'be' as 
blank.  When I go through debug 'be' is correct throughout sort/select 
processing, but as soon as it hits auto processing prior to going 
through the report process 'be' becomes blank.

Why is a global variable being remembered when it is set through an 
INPUT command, but not otherwise?

Boaz


More information about the Filepro-list mailing list