Help needed on Index

Hobby

New Member
Hai,

Is there anyway to get the primary unique key of a buffer from its handle.

there is a statement like

hbuff:index-information(i).
but that gives information of all the indexes for different values of i. but that is a over load as i have to loop through it.
is there any easier way? it is okey if i get alteast the name of index.
 

FrancoisL

Member
hBuff:pRIMARY will give you the primary index name.

for the field , you will have to loop thru the INDEX-INFORMATION till you find it .
 
Top