Re: Problem upgrading a 4GL form
Posted in 1998
On Mon, 14 Sep 1998, Mark McWiggins wrote: > I'm maintaining a 4GL app ... I had to add a database field and update > a form to refer to that field. The field is of type 'date' (as are > other fields in the form), but when the user tries to enter a date, > she gets 'Error in field'. > > Any ideas? I have the new field defined in the .per file identically > to that of another date field that works fine. > > Thanks in advance for any suggestions whatsoever. Is the field in the form defined as a FORMONLY field? If so, does it have TYPE DATE after it too? Is the variable into which you are doing the input of the correct type? Did you update the screen record spec in the instructions section? Can you post a simple piece of code which demonstrates the problem? I suspect not, because by the time you've reproduced the problem on a small scale for us to see, you will also have discovered what the problem actually is. If you can reproduce it on a small scale, then you'll be able to post a simple CREATE TABLE statement (not more than 10 columns and probably only 3), a simple form file, and about 30 lines of I4GL code. Yours, Jonathan Leffler (jleffler@informix.com) #include <witticism.h> Guardian of DBD::Informix v0.60 -- http://www.perl.com/CPAN Informix IDN for D4GL & Linux -- http://www.informix.com/idn