Re: NewEra Demo code bugs
Posted in 1995
In article <DDK4MA.127@its.csiro.au>, peter@prospect.anprod.csiro.au (Peter Wiley) wrote: > I've been attempting to learn NewEra and it's pretty hostile going. You have all my sympathy. I know exactly how you feel. [ lots of errors in NewEra documentation removed ] > Page 6-32 has code using the MESSAGEBOX function. This will not work > unless you put Did you notice the error in the help file describing the parameters to promptbox? - They've got the "Default" value wrong. Took me *ages* to find the problem. How on earth did they generate this "help" system? > Now, a question. I can add a row to orders and hit the apply button. All > appears OK; the serial number is incremented properly, I can fetch another > customer's details, come back and my new data row is still present. > However, once I exit the window then re-run it, my inserted row(s) have > vanished. > > Why? This is driving me nuts. Because you have to stick a "COMMIT WORK" in with the "Apply Row" code. By default NE does the "BEGIN WORK" but not the "COMMIT". Intuitive, huh? ------------------------------------,------------------------------------------ Kerry Sainsbury, kerry@kcbbs.gen.nz | THE INFORMIX FAQ v2.2 Mar 95 Quanta Systems, Auckland | kcbbs.gen.nz:/informix/informix.[faq|apx] New Zealand. Work: +64 9 377-4473 | mathcs.emory.edu:/pub/informix/faq/ " " Home: +64 9 279-3571 | http://www.garpac.com/informix.html