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