19 May 23:51
Re: Load Record Error - V11
From: Jason Hect <jhect@...>
Subject: Re: Load Record Error - V11
Newsgroups: gmane.comp.lang.inug-4d.tech
Date: 2008-05-19 21:51:42 GMT
Subject: Re: Load Record Error - V11
Newsgroups: gmane.comp.lang.inug-4d.tech
Date: 2008-05-19 21:51:42 GMT
I'm not understanding this? The table is in Read Only, with no records in current selection. I load a record and as you mention below, the record should be locked to the current process. I can confirm this by calling Read Only State, which will equal True. If I try to modify and save the record, the changes are not saved (as I would expect, its locked!) But then, I can turn around delete the record!?! How is that possible? I ran the same code in 2004, and the record is not deleted. Am I totally missing something here, or is it a bug? Thanks! Jason Paul Mohammadi wrote: > > you can only delete records that are not "locked", a record loaded in > READ ONLY is considered "locked" to the current process. > > There are two situations you want to consider. > > Table status must be set to READ WRITE prior to deleting a selection > of records otherwise it's like you allow the database to delete Locked > records in batches. > > Table status must be set to READ WRITE prior to loading a record > otherwise you allow the database to delete a Locked Record. > ********************************************************************** > The 4D v11 SQL Roadshow - coming to a city near you! > http://www.4D.com/roadshow/index.html > > 4th Dimension Internet Users Group (4D iNUG) > FAQ: http://www.4d.com/support/faqnug.html > Archive: http://dir.gmane.org/gmane.comp.lang.inug-4d.tech > Unsub: mailto:4D_Tech-Unsubscribe@... > Post: mailto:4d_tech@... > Options: https://lists.4d.com/mailman/listinfo/4d_tech > ********************************************************************** > > -- -- View this message in context: http://www.nabble.com/Load-Record-Error---V11-tp17280873p17328977.html Sent from the 4D Tech mailing list archive at Nabble.com. ********************************************************************** The 4D v11 SQL Roadshow - coming to a city near you! http://www.4D.com/roadshow/index.html 4th Dimension Internet Users Group (4D iNUG) FAQ: http://www.4d.com/support/faqnug.html Archive: http://dir.gmane.org/gmane.comp.lang.inug-4d.tech Unsub: mailto:4D_Tech-Unsubscribe@... Post: mailto:4d_tech@... Options: https://lists.4d.com/mailman/listinfo/4d_tech **********************************************************************
RSS Feed