Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

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 ASP Free Forums Sponsor:
  #1  
Old January 21st, 2004, 11:24 AM
drmojo77 drmojo77 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 137 drmojo77 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 23 m 36 sec
Reputation Power: 5
copy/paste question

not really for sure if copy/paste is the word i am looking for. here is what i want to do i have a unbound form that has a lot (around 250) of unbound fields. what i am needing to do is i have a column of unbound fields named "employee1, employee2, etc:" where i put in the employees name. what i need it to do is after i click on the save button is save the names to the specified table (which it already does) but then i need it to recall the same names when i create a new record the following day instead of having the supervisors type in the names again day after day.

if this don't make sence i am sorry that is the best way that i know how to describe it.

thanks
chad

Reply With Quote
  #2  
Old January 21st, 2004, 02:06 PM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 12
There is as many alternatives to do with this as your imagination will let you do it.

Here is a one that I would do.

You have your form set up to allow only 45 (or 46) people only.

I would create a table that lists the fields employee1...employee46. In this table input each employees name 1 thru 45. You put this information is a table as data so that it is easy to change leter down the raod

The you will add a button to your form that is labled "Setup up form", which you will use to get all the data from this new table and post it on your form, in your text boxes.


S-

Reply With Quote
  #3  
Old January 21st, 2004, 02:13 PM
drmojo77 drmojo77 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 137 drmojo77 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 23 m 36 sec
Reputation Power: 5
that is what i want to do but i am not all that access/vb oriented. so if you could show me an example that would be cool.

and thanks in advance

Reply With Quote
  #4  
Old January 21st, 2004, 02:20 PM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 12
I know you have a sample of my VBAUnbound DB.

Run the same code that is need to open a recordset for editing buy instead of pushing what is in the textboxes into the recordset doing the opposite

textbox = rsADO.Fields("record")

and don't update the recordset

S-

Reply With Quote
  #5  
Old January 21st, 2004, 03:17 PM
drmojo77 drmojo77 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 137 drmojo77 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 23 m 36 sec
Reputation Power: 5
i have tried putting that code every where in my code but i get a error no matter where it is. i must be doing something wrong.

here is the database if you need to look at it since i made changes.

http://myfriendsofmo.com/op.zip

sorry for not understanding what you mean.
i am just learning access and vb. and thank you for your patience.

chad

Reply With Quote
  #6  
Old January 21st, 2004, 03:33 PM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 12
Where did you put the code in your form so I can look at it.

S-

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > copy/paste question


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