backitup = Session.RefModule[depth].Referer; // are there already url vars in the link? if (FindNoCase('?',backitup) gt 0) { backitup = REReplaceNoCase(backitup,"&newRefFk=\d*",""); // in case the calling page is asking a 2nd time for a newRefFk backitup = backitup & "&"; } else { backitup = backitup & "?"; } backitup = backitup & "newRefFk=" & URL.RefFk; // if this is a new layer of depth, add it to the RefModule if (not StructKeyExists(Session.RefModule[depth],"SetValues")) { Session.RefModule[depth].SetValues = StructNew(); } if (not StructKeyExists(Session.RefModule[depth],"NoEdit")) { Session.RefModule[depth].NoEdit = StructNew(); } if (not StructKeyExists(Session.RefModule[depth],"NameText")) { Session.RefModule[depth].NameText = ""; } for (fieldname in URL) { if (fieldname neq "noedit") { Session.RefModule[depth].SetValues[LCase(fieldname)] = URL[fieldname]; } } if (isdefined("FullName.AuthorTeamFk")) { Session.RefModule[depth].SetValues['searchauthor'] = FullName.AuthorTeamCache; Session.RefModule[depth].NoEdit['searchauthor'] = true; Session.RefModule[depth].AuthorTeamFk = FullName.AuthorTeamFk; Session.RefModule[depth].AuthorTeamCache = FullName.AuthorTeamCache; isNomRef = 1; } Session.RefModule[depth].NameText = "for
#FullName.FullNameCache#";

Select #Session.RefModuleModeText# #Session.RefModule[depth].NameText#

Create new
RefId IdInSource Full Title Author Category Year
Loading ...