Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old July 16th, 2003, 05:08 PM
ecit12's Avatar
ecit12 ecit12 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 411 ecit12 User rank is Corporal (100 - 500 Reputation Level)ecit12 User rank is Corporal (100 - 500 Reputation Level)ecit12 User rank is Corporal (100 - 500 Reputation Level)ecit12 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 12 h 42 m 14 sec
Reputation Power: 7
Access Macro help(Append,Delete Query)

Hi, here is the situation

I have a table with a list of clients.
this information is viewed on a form
what I want to happen is,
when a person is on a specific record,
if the closeAccount button is pressed,
those records are moved from the current table to closedAccounts table.

what I have right now is this,
I have a query that will ask for the client number and then move that data into another table.
I have another query that will ask for the client number and then delete the data from the current table.

my problem here is that I when a person presses the close account button, I want access to grab the current record being browsed and then accordingly Append and delete the data.

There are multiple tables that contain the client data, so entering the client number again and again is very annoying and also tedious....

Reply With Quote
  #2  
Old July 18th, 2003, 10:48 AM
rkern rkern is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 33 rkern User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Rather than worrying about the record number, try setting a flag when your control is pressed. ie update a new record field, boolean, to true. Then any record that is true is deleted and append as you require and join or select on the record number at that time

cheers
Rk

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Access Macro help(Append,Delete Query)


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 6 hosted by Hostway