<i><font color="#663300">There was a situation wherein I was manually generating place holder entries in a given table for internal use. It was a similar statment as below, inside a scan loop based on the child BO in which the code was executed.
Here the first record would save and the second record generated in the scan loop would fail (I remebered changing select areas as required). I was suggested on the forum here to use tableupdate() and the problem was solved. Please advise</font></i>
You are calling Save() without bothering to check the return value. If it fails, you have no way of knowing why. You should always capture the return value of a process that may or may not succeed, instead of assuming that it will always work.
Do some debugging. Step through the code and find out what is preventing the Save() methods from succeeding. The data behavior does an AERROR() if its TABLEUPDATE() fails; that will usually tell you what the problem is. <font color="#cc0000"> ___/ / __/ / ____/</font> Ed Leafe ©2002 Ed Leafe |