Addressing a record physically - possible?

Moin: Is there a number or identifier for physically addressing a record - regardless of the record´s content? I´ve browsed through the help but couldn´t find any clues. Regards Alarich

Starting from ver. 3.6 you can use pointers tu tables and rec’s. Beffore you can do this only using C/front.

Dalius: Sorry! I forgot to say we are using NAVISION 3.60. I want to create a table that logs modifications in other tables like customers, vendors, etc. For this I need a unique reference to a table´s record not based on a record´s content. Until now I didn´t find this. Regards Alarich

quote:


Originally posted by Alarich
Dalius: Sorry! I forgot to say we are using NAVISION 3.60. I want to create a table that logs modifications in other tables like customers, vendors, etc. For this I need a unique reference to a table´s record not based on a record´s content.


In NA 3.60 there is a granule which logs modifications in other tables. Not even an expensive one. Anna

quote:


In NA 3.60 there is a granule which logs modifications in other tables. Not even an expensive one.


This granule has excatly what you want. Have a look at these nice triggers: GetGlobalTableTriggerMask(TableID : Integer) : Integer OnGlobalInsert(RecRef : RecordRef) OnGlobalModify(RecRef : RecordRef;xRecRef : RecordRef) OnGlobalDelete(RecRef : RecordRef) OnGlobalRename(RecRef : RecordRef;xRecRef : RecordRef)

Check RecordRef data type. It is pointer to rec. But, some times physical location of rec can be changed, as primary key too. So, you can’t get any identifier of rec, that can be fixed forever. For loging use primary key. P.S.: Records never are acceesed directly to data base file. RecordRef pointing to buffer, indeed.