home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.paradox      To crash or not to crash, asks Borland      9,834 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 8,277 of 9,834   
   Michael Israel to All   
   Re: Error peBOF (8705)   
   11 Mar 07 16:40:23   
   
   From: mike@liny.com   
      
   When you insert a record, it inserts the record prior to the active   
   record.  If there are no records in the table this action can't happen.   
     I believe you have to check auto append in the data model.   
      
   > Hi,   
   >   
   > New form development for me.   
   >   
   > I am using the default P9 button code for adding a new record in a child   
   > table.   
   >   
   > If the master record already has a detail record in the child table this   
   > goes fine, but if the master record has no such record then the following   
   > section of code breaks me out of inserting a new record.   
   >   
   > ;// Move to the end of the table   
   > ;//   
   > 	if NOT active.end() then   
   >    	message(errorCode())  ;// my line to get the 8705   
   > 		errorShow()	;// custom error handling calls should go here   
   > 		return   
   > 	endIf   
   >   
   > errorShow() gives the message "At beginning of table". Obviously we are   
   > "NOT active.end()" 'ing.   
   >   
   > The child table is represented on the form as a 1x1 MRO and the master   
   > table as a tableframe.   
   >   
   > What can be causing this, am I doing something wrong in principle here?   
   >   
   > Thanks for any comments   
   >   
   > Anne   
   >   
   > -----   
   > Anne Wainwright   
   > Please reply to group   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca