Updated with an additional line in the comments for get_indexdef
* if colno == -999, we only want the name of the variables thatmake up the index
Apologies for leaving this out in my earlier post.
Regards,Khee Chin.