I will try that approach, but seems that the code 'should' work since the row and column are specified. Makes cleaner code to deal with it all in one place, in this case I have a boolean that gets ‘checked’ if we are paying an invoice, and it then ‘unlocks’ the ‘amount’ in that row and puts cursor there to edit the amount being paid on the open invoice.
Lloyd Sigler [email protected] > On Jan 22, 2018, at 8:30 AM, Kirk Brooks via 4D_Tech <[email protected]> > wrote: > > The link Miyako included to the section on Managing Entry does actually > talk about this. (I confess I hadn't read it very carefully before now > myself.) > > You use OBJECT SET ENTERABLE to manage the enterability of the 'object' > which is the listbox column. > To control the enterability of an individual cell you use the On Before > Data Entry form event. > > It may seem a bit odd to have an object method return a value but that's > how it works. > > > Kirk Brooks > San Francisco, CA > ======================= > > *We go vote - they go home* > > > On Mon, Jan 22, 2018 at 8:07 AM, Jim Crate via 4D_Tech <[email protected] >> wrote: > >> On Jan 21, 2018, at 10:41 PM, 4d--- via 4D_Tech <[email protected]> >> wrote: >>> >>> The following works fine in v14, but in v16 doesn’t work. Is this a >> known issue?? >>> >>> OBJECT SET ENTERABLE(ar_invBalance{$row};True) >>> EDIT ITEM(ar_invBalance;$row) >> >> I tried EDIT ITEM in v16 last week and it didn’t work for me either. >> >> Jim Crate >> >> ********************************************************************** >> 4D Internet Users Group (4D iNUG) >> FAQ: http://lists.4d.com/faqnug.html >> Archive: http://lists.4d.com/archives.html >> Options: http://lists.4d.com/mailman/options/4d_tech >> Unsub: mailto:[email protected] >> ********************************************************************** >> > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

