en@frrom
18th April 2005, 15:37
I am experiencing problems when calling the filter on a display session, form type 3. The session is a synchronised child from a parent main session. When hitting the filter button, the session hangs. The filter is not activated, and nothing happens. When looking at the ticks in the active processes, the ttstpqbf is not activated, and the ticks do not increase on the calling session (i.e. nothing happens).

This session is a fully customized session. It sums up some totals for the given selection, writes the records away to a temp table, which is then displayed on the form. The selection and writing to the temp table (which thus is the session's main table), happens in the before.form section.

When debugging the steps of choice.query: the program gets to the before.choice, and that's it. If I do 'step' from the before.choice section, the session hangs.

I have similar sessions, where the filter works fine.

How does the filter work? Can it be that it is depending on the amount of data which is selected in the query in before.form section? I.e. that when little data is in the selection, the filter starts up fast and smooth, when there is more records, it takes a second or two, and that when the selection is heavy it just hangs???

en@frrom
19th April 2005, 12:56
I see nobody's biting, so I will ask just something else: how does the filter work? What fields/data/values are fed to the qbf? I have a session, which based on the session zoomed from, will display relevant data. I.e. One session, one form, yet different data, depending on parent session. If the session is zoomed to from session A, the filter works fine, from session B filter doesn't start and session hangs....