Adding macro for looking up all-link database information