I've been assembling a computer aided dispatch system just for the heck of it and I seem to have hit a roadblock. The application has three components displayed on the screen constantly: command line (to take simple commands like A 28 or INC U90), the call entry screen and the active/pending calls area.

The problem I'm having is that I need to be able to pull any call that is still active (shown somewhere in the bottom portion of the screen) back up into the call entry portion of the screen using a command run on the command line at the top of the screen.

I've got it set up so that when the user enters the command, in this case INC U90, and presses enter, it takes the entry, passes it to another PHP file that then breaks it down and selects which command to use using a Switch/Case setup (here the case is INC).

Then it includes a file which has the actual operations performed by the command. in this case, it is pulling all information that needs to be loaded into the call entry screen out of the database based on the argument passed to it (U90). The result of the query is placed into an array which then needs to be sent back to the main page and loaded into each of the element text boxes in the call entry portion of the screen.

What I'm trying to figure out is: 1) is this possible? 2) if so, how would I go about doing so.

If you'd like to see an example you can go to http://cad.samninety.com/

Thanks in advance for any and all assistance!

    Write a Reply...