I have the find and delete working now.

I need to clean up the code, then I'll repost it incase it can help
someone else...

On Sep 28, 7:06 pm, "Trevor Johns" <[EMAIL PROTECTED]> wrote:
> On Sun, Sep 28, 2008 at 5:28 AM, Dano <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > I am working in Access and trying to do the following:
>
> > Login to google calendar – This works fine.
>
> > Find an entry based on a title and date start (I was trying start-min/
> > start-max – but does not work need help here)
> >                If record found – Delete (not sure how to do this part
> > either)
>
> > Add event (got this working).
>
> > I am new to this xml, so I hope you can help guide me through the find
> > and delete.
> > Attached is my code so far, which has hard coded entries, since I am
> > testing.
>
> > Thanks,
> > Dan
> > Option Compare Database
>
> Hi Dan,
> I don't have a VBA environment, so I can't run your code. But I read
> over it briefly.
>
> There isn't anything obviously wrong with what you're sending to the
> server for finding events. What do you get back after you run this?
> Can you post an HTTP transcript (being sure to strip out authorization
> headers)? For an example of how to do this using tcpdump or other
> tools, see here:
>
>    http://code.google.com/apis/gdata/articles/wireshark.html
>
> As for your delete code, I'm not sure what you're trying to do there
> (it looks like you're sending a PUT, which wont work). The correct
> sequence of events to do a delete is:
>
> 1. Locate the event.
> 2. Extract the edit link (<link rel="edit" href="..." />").
> 3. Send a request to the edit link with method DELETE (not PUT).
>
> --
> Trevor Johns- Hide quoted text -
>
> - Show quoted text -

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to