Inet_Formread (Links between HTML and OI Table) (OpenInsight Specific)
At 06 JUL 2000 09:54:20AM Peter Kassinski wrote:
One question.
My application work correctly with Inet_FormRead function, when I created HTML doc based on OI Table Form.
But I don't find where are LINKS between Inet_Function, HTML form for data filling, and native OI table which from records read ?
Thanks,
Peter
At 06 JUL 2000 11:13AM Mike Ruane, WinWin Solutions Inc. wrote:
Peter-
Check the response on your extranet.
Thanks-
Mike Ruane
At 07 JUL 2000 04:03AM Peter Kassinski wrote:
Hello Mike.
I have next situation.
I created 2 equal HTML forms from OI form using HTML Publishing ? Login_1 and Login_2.
Each form contain two html elements ? TEXT (OI edit line) and SUBMIT (OI push button).
For Login_1 Window QuickEvent Submit calls Inet_FormRead_1 function.
For Login_2 Window QuickEvent Submit calls Inet_FormRead_2 function.
Inet_FormRead_X functions are Inet_FormRead modifications where:
formId=Inet_QueryParam(Request, FORM_ID$)formId=OI_Table_Record_WEB_1" *** for Inet_FormRead_1formId=OI_Table_Record_WEB_2" *** for Inet_FormRead_2
keyVal=Web_GetKey(Request, winId)keyVal=Inet_QueryParam(Request, 'KEY')( KEY is html TEXT element in Login_X. )What is OI_Table_Record_WEB_X forms ?
These are HTML forms created by HTML Publisher.
OI_Table_Record_WEB_1 ? based on OI Form with Data Source ? native OI Table.
OI_Table_Record_WEB_2 ? based on OI Form with Data Source ? No Table.
( Control Names for OI_Table_Record_WEB_X are equal.)
No wonder that result for Login_2 is empty OI_Table_Record_WEB_2.
( Becouse there are no links between HTML forms and OI Table names. )
For Login_1 result is OI_Table_Record_WEB_1 filling data from OI table record KEY.
I search OI_Table_Record_WEB_X tags and don?t find something like OI Table Name inside HTML forms.
What and where relationships between OI Table Name and OI_Table_Record_WEB_X in my situation ?
Thanks.
At 07 JUL 2000 04:20AM Peter Kassinski wrote:
Hello Mike,
I think there is only one link - HTML form for data filling and OI Form based on OI native Table which from data reads should have EQUAL names.
Thanks,
Peter.