01-18-07 06:26 AM
Fixed!
Actually some of my items were not postings but channels.
Thanks a lot for your help Stefan
cheers
Stefan Go=DFner [MSFT] wrote:[vbcol=seagreen]
> Hi Lucky,
>
> sounds as if the GUID does not identify a Posting object.
> Please use the code below to verify this:
>
> <%
> Dim pSearches, pResult, strGUID
> ' initialize the Searches object
> Set pSearches =3D Autosession.Searches
>
> strGUID =3D myRs.Fields.Item("GUID")
> Set pResult =3D pSearches.GetByGUID(strGUID)
> If pResult Is Nothing Then
> ' Object does not exist or user does not have rights.
> %>
> <P>Object not found!</P>
> <%
> Else
> ' an object is returned, OK to use it
> %>
> <P>Found the <%=3DpResult.Name%> <%=3DpResult.Type%></P>
> <% End If %>
> Cheers,
> Stefan
>
> "lucky" <lfelix@nordnet.fr> wrote in message
> news:1169022344.901925.285410@m58g2000cwm.googlegroups.com...
[ Post a follow-up to this message ]
|