Open attachment in same window in lotus script

Set db=s.CurrentDatabase Set v=db.GetView(“imageEntry”)

Set entry=v.GetEntryByKey("1")

If Not entry Is Nothing Then 

	value=entry.ColumnValues(1)

	v1=Strleftback(value,"'ta")

	v2=Strrightback(v1,"'/")

	v3="http://144.0.24.211/"+v2

	Print {<script>parent.location.href="} & v3 & {";</script>}

Else

	Print | <script>alert("|+ "File doesnot exist" +|")</script>|

End If

This code was not working for open attachment in same window pls tell any body how open attchmentin same window not in another window

pls guide me

amar

Subject: open attachment in same window in lotus script

Hi,

you can make it work with the below code if u expect the url u r creating with v3 to replace in the current window of script run.

Print {}

HTH

Keshava