SELECT TOP 1 FactId NewFactId FROM Fact WHERE FactCategoryFk = #URL.FactCategory# ORDER BY Created_When DESC

Add #FactCategory.FactCategory# for
#FullName.FullNameCache#

Fact notes checked onClick="SetHiddenDoubtfulFlag()">Doubtful fact value="on" value = "off" >          Sorting order:  

Reference for this #FactCategory.FactCategory#

Either ... rapid data entry (new reference will be created)
Complete reference
or ... choose from my reference menu.
Select reference Select new reference
Full reference Remove value=#factrefid# />
Enter details.
Details
Notes(detail)