Re: Delete record howto?
From: Rick Brandt (rickbrandt2_at_hotmail.com)
Date: 04/29/04
- Next message: TC: "Re: Updating main form"
- Previous message: Mike J: "Delete record howto?"
- In reply to: Mike J: "Delete record howto?"
- Next in thread: Mike J: "Re: Delete record howto?"
- Reply: Mike J: "Re: Delete record howto?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 28 Apr 2004 21:38:28 -0500
"Mike J" <anonymous@discussions.microsoft.com> wrote in message
news:5a9701c42d92$40553e60$a401280a@phx.gbl...
> I have a table that has an ID field and a Date field.
> There would be many records with the same ID in this table
> but all the dates for that ID are different. So, I wanna
> search for a record with an ID and a specific date and
> then delete it. I'm having trouble doing this; can
> someone show me how? Thanks.
If the date has no time component (actually a time of midnight) then it
would be something like...
DELETE * FROM YourTableName
WHERE ID = 123
AND DateField = #1/1/2004#
- Next message: TC: "Re: Updating main form"
- Previous message: Mike J: "Delete record howto?"
- In reply to: Mike J: "Delete record howto?"
- Next in thread: Mike J: "Re: Delete record howto?"
- Reply: Mike J: "Re: Delete record howto?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|