Thanks Mike, I couldn't retrieve anything of the custom queries or flags/icons. Consolation is I didn't lose my family history file. Am a bit frustrated because I had it backed up on a portable hard drive so in theory it should reinstall the complete program. Still learn the hard way. Yasmin -----Original Message----- From: family-historian-users-bounces@rootsweb.com [mailto:family-historian-users-bounces@rootsweb.com] On Behalf Of Beryl & Mike Tate Sent: 16 October 2011 17:57 To: family-historian-users@rootsweb.com Subject: Re: [FHU] Help with query Presumably you could not retrieve your Custom Queries from either of the following folders. On XP at C:\Documents and Settings\All Users\Application Data\Calico Pie\Family Historian\Queries\Custom\ On Windows 7 at C:\ProgramData\Calico Pie\Family Historian\Queries\Custom\ For details of Function codes see Help > Family Historian Help > Using Family Historian > Advanced Topics > Understanding Functions > Functions (all)... The Function that returns Record Id is =RecordId() Please remember to Export your Custom Queries to your Project folder in future, to avoid losing them again. Regards, Mike Tate -----Original Message----- From: family-historian-users-bounces@rootsweb.com [mailto:family-historian-users-bounces@rootsweb.com] On Behalf Of Yasmin Sent: 16 October 2011 17:30 To: family-historian-users@rootsweb.com Subject: [FHU] Help with query I have transferred to new laptop and have managed to lose all my custom queries. I am going to start rewriting some of them but cant remember the code for the record ID can anyone help please. Thanks Yasmin ------------------------------- To unsubscribe from the list, please send an email to FAMILY-HISTORIAN-USERS-request@rootsweb.com with the word 'unsubscribe' without the quotes in the subject and the body of the message