Kevin,
I have an experimental routine for M2Web (see
http://openforum.worldvista.org/~forum/m.cgi/rtn/htDIQ#form) that will generate
an HTML
input form for a data record given the file, iens, and fields (essentially the
parameters
for GETS^DIQ. When the form is submitted, the server receives an array of named
values,
such as:
htInput("DtOfBrth")="08/20/1960"
htInput("Name")="DOUGLAS,MIKE RONALD"
htInput("Sex")="M"
etc.
The version on openforum automatically represents set-of-codes type fields with
a dropdown
set of choices and it uses textareas to represent word processing fields and
long text
fields. The newest version (not yet extracted from VMACS) presents a popup
calendar for
date fields and a popup window for lookups on pointer fields.
Kevin wrote:
>Yes, I know that RPC calls and Screen man calls are different. But
>what I would do would be to make a GUI that would make an RPC call
>asking for a field stream. The server code would then read the
>screenman file. It would send back messages something like this:
> -- label at 10,10, value="NAME"
> -- field NAME/.01 at 10,15, value="DOE,JOHN"
> -- label at 20,20, value="DOB"
> -- field DOB/.02 at 20,15, value="01-01-1920"
> ...
> etc.
>
>Then the GUI would put these on a form. The user would edit the data.
> Then the RPC would pass the results back to the server for filing.
>
>Yes it would be significant work.
>
>Kevin
---------------------------------------
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members