* Multimedia Query Query

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile. If your question fits in one of these subject-specific sub-forums, please ask it there.
Post Reply
avatar
Little.auk
Famous
Posts: 224
Joined: 23 Jul 2021 08:51
Family Historian: V7
Location: Tamworth, Staffordshire, UK

Multimedia Query Query

Post by Little.auk » 19 Mar 2022 12:00

I am trying to modify a simple Media query, as per image, to include the Record ID field. The Fields list shows a Field named Automated Record ID, which I have added and which gives the code%OBJE.RIN%. However, when I run the query the ID column remains blank.

%OBJE.FILE% and %OBJE.KEYS% are working. I don't use Custom IDs, but I have created one to test, and %OBJE.REFN% also works.

So why doesn't %OBJE.RIN% - is the Media Record ID hidden somewhere else?

Screenshot 2022-03-19 114115.jpg
Screenshot 2022-03-19 114115.jpg (61.25 KiB) Viewed 509 times
Peter Rollin
Running FH 7.0.20 and AS 7.7.7 64 bit in Windows 11

User avatar
tatewise
Megastar
Posts: 27082
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Multimedia Query Query

Post by tatewise » 19 Mar 2022 12:13

That is a popular question that many users have. You need to use the =RecordId() function.
Tips:
See FHUG Knowledge Base Understanding Expressions or Understanding Functions that give examples for =RecordId()
Look in any Query that provides Record Id in its Result Set and see how it produces that in the Columns tab.

See also FH V7 Help page Funcion: RecordId

The Automated Record Id is something quite different.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

Post Reply