JSonnabend1 wrote:Ok, how do you handle the situation I posted above for the link to "Track_Credits.xsl" in "Track.xsl"?
I have my code working for some time now, I'm just not sure I'm doing things the most efficient way.
In function TFrmExplorer.GetCATraxxData the Filter is saved to SaveFilter (conditional).
if not NoSave then
In procedure TFrmExplorer.ViewerHotSpotClick the various possibilities is checked.
In this case (Track_Credits.xsl) it will be trapped here:
if ContainsStr(URL, '.xsl') then
Filter:=Copy(URL,Length(Template) + 2,
Length(URL) - Length(Template) - 1);
if Filter = '' then Filter:=SaveFilter;
Since there is no filter, SaveFilter is used.
SaveFilter will contain "ID=1"
Hope that helps.