Microsoft Access Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft Access Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old June 6th, 2006, 01:01 PM
martin579 martin579 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Posts: 4 martin579 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 59 m 3 sec
Reputation Power: 0
Question Find and erase record

Hi . I'm a new user of access VBA and I hit my first problem.
I want to find a row in my table "TBDocuments" and then delete this row.

example:

in TBDocuments Table, I have:

DOCUMENTS REV
AAA-111-1111 01
BBB-132-4444 01
BBB-132-4444 02

(both are primary key)

I want to delete BBB-132-4444 01

In VBA, first i have to find the row, and after delete this row.
But how can i do this (using VBA) ??

Reply With Quote
  #2  
Old June 7th, 2006, 03:25 AM
MStef MStef is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Location: Zagreb - Croatia
Posts: 98 MStef User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 18 h 21 m 55 sec
Reputation Power: 3
Hello Martin!

Look at "DemoFindDelA2000.mdb".
Open Form1 and try.
Attached Files
File Type: zip DemoFindDelA2000.zip (12.9 KB, 904 views)

Reply With Quote
  #3  
Old June 7th, 2006, 07:45 AM
martin579 martin579 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Posts: 4 martin579 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 59 m 3 sec
Reputation Power: 0
Red face thank you

Quote:
Originally Posted by MStef
Look at "DemoFindDelA2000.mdb".
Open Form1 and try.



thank you for your help... it's simple and functional!

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft Access Development > Find and erase record


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT