Re: NEWERA ixSuperField Problem
Posted in 1997
Topics: Stored Procedures & SPL
Dirk Gunsthoevel wrote: > Hi, Bret&Amy :> > > Not sure but maybe a thing you should check: I ran into problems > like that with a self programmed master-detail thing also. > Reason was: > Detail table contained data but no rows. > Sounds weird, eh? Happens when you set the table into data > state, insert NO row (or use clearSet), and then insert > data into it. The fields will accept that (if their data-state > is readWriteState) but they act a bit weird ;> Sounds a little familiar. > If you didnt do until now: Check the state and the number of > rows in the superTable when the problem occurs. > Another reason could be that you only think you are in > displayData... but then at least the events like > beforeQueryChange, afterQueryChanged, etc should be posted. They don't either. What I did to get around it is to force an afterDataChanged when focusOut is posted. A little awkward, but it works. Considering if afterDataChanged is envoked and then the user tabs out of the field a second time without changing the bad data, afterDataChanged is not posted a second time, you'll have to put something into focusOut anyway. Thanks for the advise Dirk. Bret. > > _MAYBE_ thats it. Good luck > > Dirk > > -- > -- Dipl.-Math. Dirk Gunsthoevel phone: +49 (0)251 624947 > -- Hoeftestr.49 fax: +49 (0)251 624177 > -- 48167 Muenster Save from the guards of intellect and reason > -- Germany http://members.aol.com/Plabit/welcome.html