A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Delete Record Based on Text Box



 
 
Thread Tools Display Modes
  #1  
Old May 25th, 2004, 07:46 PM
James Stephens
external usenet poster
 
Posts: n/a
Default Delete Record Based on Text Box

I have set this up to work before with one text box, but I am struggling to make it work with 2.

Is there a way to make a delete query that will delete any record in a table where the value in field 2 is equal to Textbox1 AND the value in field 3 is equal to Textbox2. It simply needs to delete the entire record based on these two textbox values being equal to the value in two fields.

Thanks for your assistance

Jim
  #2  
Old May 26th, 2004, 12:56 AM
Duane Hookom
external usenet poster
 
Posts: n/a
Default Delete Record Based on Text Box

Is this a saved query? What is the SQL view?

--
Duane Hookom
MS Access MVP


"James Stephens" wrote in message
...
I have set this up to work before with one text box, but I am struggling

to make it work with 2.

Is there a way to make a delete query that will delete any record in a

table where the value in field 2 is equal to Textbox1 AND the value in field
3 is equal to Textbox2. It simply needs to delete the entire record based
on these two textbox values being equal to the value in two fields.

Thanks for your assistance

Jim



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:05 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.