Chip,

Record 0 is the first record in the table. 

Of course it may have been deleted and the number not reallocated. 

Regards,

Wayne
Sent from my iPhone

> On 31 Oct 2017, at 15:03, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Alberto,
> doesn't Goto REcord ([table];0) - generate an error?
> there is no record number 0
> 
> from documentation :
> If record is less than the smallest record number in the database or greater 
> than the greatest record number in the database
> 
> 
>> Hello,
>> 
>> If the value of a property is modified using object notation directly 
>> over an object field the modified value is not stored on the record.
>> This is reproducible in v16R4 and v16R5.
>> 
>> 
>> READ WRITE([Table1])
>> GOTO RECORD([Table1];0)  // [Table1]Object.value is False
>> $b_value:=True
>> [Table1]Object.value:=$b_value 
>> SAVE RECORD([Table1])  // [Table1]Object.value is True after Save Record
>> UNLOAD RECORD([Table1])
>> GOTO RECORD([Table1];0)  // after changing the current selection by 
>> reloading the record [Table1]Object.value is false
>> 
>> I reported this to 4D via TAOW and the Forum.
>> 4D answer was that is as standard behavior and they recommend me to 
>> assign the object field to itself after modification. 
>> 
>> You can also use OB SET or assign the object to a variable and work 
>> with it before reassign it to the object field.
>> 
>> Alberto.
>> 
>> 
>> 
>> **********************************************************************
>> 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:4d_tech-unsubscr...@lists.4d.com
>> **********************************************************************
> ------------
> Hell is other people 
>     Jean-Paul Sartre
> **********************************************************************
> 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:4d_tech-unsubscr...@lists.4d.com
> **********************************************************************
**********************************************************************
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:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to