modal dialogs

James Rea jim at provue.com
Wed Mar 12 12:32:50 PDT 2008


> The second  said roughly;  "Explicit assignment to a cell is
disabled".

I think it said "implicit assignment is disabled"

Assignments are normally explicity, like this

Name="Fred"

However, originally Panorama didn't have assignments (Panorama's
original "macro" feature wasn't really a programming language). Instead,
you could assign a cell a value like this:

Field Name
"Fred"

I call this an "implicit assignment". It's somewhat easy to have a stray
implicit assignment lying around in your procedure that can cause
problems (i.e. changing the current field when you didn't mean to). You
can prevent this by putting the line

noimplicitassignment

at the top of your procedures. This will break any Panorama 1.0 macros
you have lying around, but you probably don't have any of those anyway!

On the server noimplicitassignment is turned on automatically (I figured
a 1.0 macro wasn't going to run on the server anyway)

So somewhere in your procedure there is a lose formula (it doesn't have
to be a constant as shown above, it could be any formula that isn't part
of an assignment or a parameter to a statement.

> Oddly, today modal dialogs have popped up twice on a live web server.

The odd part is the dialog. I know you (Jim Cook) have had this problem
before, but it hasn't appeared on any other server that I know of. What
it should do is throw up an error message on the browser, just like any
other code error. The standard error display gives you information on
what procedure contains the problem, and where. Without that information
it's going to be pretty difficult (though not impossible) to track down
the implicit assignment.

The next server version will have an option to completely disable all
alerts. This shouldn't be necessary, and hasn't been anywhere else, but
it should prevent any alerts from appearing on your server. With this
option turned on you can't do any kind of manual work on the server at
all, because normal alerts and dialogs don't work either. Of course
doing manual work on a server is not usually a good idea anyway. There
will be more info on this in the release notes for the new version when
it is available.

Jim Rea
President, ProVUE Development

---------------------------------------------------------------------
---   Celebrating 29 years of software excellence (1978-2007)     ---
---------------------------------------------------------------------
ProVUE Development          (714) 841-7779
18685-A Main Street PMB356  http://www.provue.com/
Huntington Beach, CA 92648  Panorama: Turn information into knowledge
---------------------------------------------------------------------


More information about the Qna mailing list