Error 301 (Unknown Reference) in Zoom
I have two custom sessions: one zooms to the other. When I do the zoom, I get the error 301, query not correct, unknown reference.
The session I zoom to is based on a custom table, which has a field "cuno" that references tccom010.cuno in the table definition. The form for this session displays both this cuno field and tccom010.nama. The unknown reference error is related to this field. If I remove tccom010.nama, the error goes away.
The Zoom 2 session uses a Type 3 form and the customer and name are multi-occurrence fields.
If I run the zoom to session by itself, I don't get any error. The name displays correctly.
The problem only occurs if I zoom to a view that has more than 10 occurrences (the limit for the session). If it has less than 10, I don't get the error.
The session has this in the Zoom From section:
You might be right. I converted to runtime for all packages (to include tccom010) and it worked.
It is weird that the only time not doing this seemed to cause an error was when I zoomed to the session, used find.data and if there were more occurrences than could be displayed.
|All times are GMT +2. The time now is 02:13.|
©2001-2018 - Baanboard.com - Baanforums.com