PDA

View Full Version : loosing a record



Hanna Philippi
12-Aug-2005, 09:57 AM
Hi Guys,

I do the zoom page in a different way , it works for the first time
but if I wait 1 minute go back and click the link it doesn't bring the
record anymore. If I refresh the page(f5) and click on the link
it bring the record . que passa? any idea?

I use the following

in my zoom page I have the following:

<%
RecID = Request("recid")


Err=oTracing.RequestFindByRecId("Tracing", RecId)


%>

thanks a lot

Knut Sparhell
12-Aug-2005, 07:57 PM
Hanna Philippi wrote:

> I do the zoom page in a different way , it works for the first time
> but if I wait 1 minute go back and click the link it doesn't bring the
> record anymore. If I refresh the page(f5) and click on the link
> it bring the record . que passa? any idea?
>
> I use the following
>
> in my zoom page I have the following:
>
> <%
> RecID = Request("recid")
>
> Err=oTracing.RequestFindByRecId("Tracing", RecId)
>
> %>

And the link you are clicking on is something like

yourzoompage.asp?recid=12345

I guess you have a session timeout of 1 minute.

You need to supply the VDF version, your ddo structure, and is Tracing a
main table of your zoom web object? What kind of report (plain or
parent/child)? Some extra code manipulating the structure?

Scenario:

You have a parent table as the main table and a child table constrained
to it, as the initial structure. You try to look up a row in the child
table. At the the same time you might have som code during the report
that breaks the constrain, freeing the child table form being
constrained. As long as the report has been run in the same session,
the lookup works, but as long as you create a new session the initial
structure is in place, and it can't work to look up in a constrained
table without first finding the right parent row.

--
Knut Sparhell, Norway