RE: FORM error
Posted in 1996
Kemp, The problem is just what it claims to be. In your function ParentUpd() you have the statement: INPUT BY NAME p_case1.case_no, p_case1.ein, p_case1.vio_type, p_case1.trade_name, p_case1.p_name, p_case1.p_adres1, p_case1.p_adres2, p_case1.p_city, p_case1.p_st, p_case1.p_zip, p_case1.p_phone, p_case1.p_ein WITHOUT DEFAULTS But, in your form you don't have any fields named p_name, p_adres1, etc. For example, when 4GL tries to input p_case1.p_name by name it can't because the field is actually named parent_name. There is no match for p_name so it rightly complains "FIELD NAME NOT FOUND IN FORM!!!!!!! " (Jeez, I'll bet you head hurts from banging it against this wall :) --Craig (craig@cyberhighway.net) > Please help. I am having a problem which I don't understand. I have a >user defined query which is defined in the CONSTRUCT. This query rtrieves >approx., 20+ elemennts of data. Abut 10 elements are displayed on the >first screen. While browsing the first screen, I can choose 'Screen' from >the ring menu to display the rest of the data( and change it if I wish). The >problem is the second screen. Whenever I press 'Update' the program >crashes: > > FIELD NAME NOT FOUND IN FORM!!!!!!! > >Here are the .4gl and .per files: > <Remaining text deleted for brevity>