Database Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesDatabase 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 February 2nd, 2009, 06:18 PM
Bijaya Bijaya is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Posts: 16 Bijaya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 54 m 23 sec
Reputation Power: 0
Smile Adding Record in the bound Form using Command button

I have Two forms one is switchboardFrm and MembershipFrm

I have a Command button "Add New Record" in the switchboardform that basically opens second form called MembershipFrm

When I insert the record in the second form without allowing me to save the record it get saved and update my table.



I don't understand the use of the command button for saving a record when everytime I change anything on a field in a bound form, it is instantly updated in the
database which is what I DO NOT want. How can I make it so the user has to click on the save button to save the record without the fields automatically
getting updated in the database while using the bound form....

Thank you
Bijaya

Reply With Quote
  #2  
Old February 3rd, 2009, 11:59 AM
AlanSidman's Avatar
AlanSidman AlanSidman is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2008
Location: Lake County, IL
Posts: 139 AlanSidman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 36 m 14 sec
Reputation Power: 1
I think that for what you want to do, you must use an unbound form and then use script to save the information to your tables. Access will automatically update tables when you use bound forms. Why is it important to save with a command button. Why not have the record stored(saved) automatically.

Alan
__________________
Alan Sidman
__________
If I helped you, I'd like to know. Click on the icon next to the thread number and tell me.

Reply With Quote
  #3  
Old February 3rd, 2009, 07:40 PM
Bijaya Bijaya is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Posts: 16 Bijaya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 54 m 23 sec
Reputation Power: 0
Adding Record in the bound Form using Command button

I really don't have problem saving Record automatically, but I have problem updating record that I don't want to.

Let me explain in detail. User wants to update record, but by mistake he/she opens different record in the MimbershipFORM and started changing the fields. After changing only he realizes that he is modifying different record at that moment he does not want to update that record rather wants to cancel . How can I accomplice this using Bound form?

Thanks
Bijaya

Reply With Quote
  #4  
Old February 16th, 2009, 04:12 PM
Bijaya Bijaya is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Posts: 16 Bijaya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 54 m 23 sec
Reputation Power: 0
Updating Record in the bound Form using Command button

I have problem updating record that I don't want to.

Let me explain in detail.
I wants to update record, but by mistake I open different record in the MimbershipFORM and started changing the fields. After changing only I realize that I am modifying different record. So I dont want to update that record rather want to cancel .
How can I accomplice this using Bound form? Is it possible?

Thanks
Bijaya

Reply With Quote
  #5  
Old February 16th, 2009, 04:49 PM
AlanSidman's Avatar
AlanSidman AlanSidman is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2008
Location: Lake County, IL
Posts: 139 AlanSidman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 36 m 14 sec
Reputation Power: 1
Using a bound form, Access automatically updates any changes made. You would need to have an unbound form and then use a command button to fire the save to the table. It is important to pay attention to what you are modifying when using access.

Alan

Reply With Quote
  #6  
Old March 6th, 2009, 02:15 PM
Bijaya Bijaya is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Posts: 16 Bijaya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 54 m 23 sec
Reputation Power: 0
Adding record in the bound Form using Command button

Thank you for the response.

Reply With Quote
  #7  
Old July 1st, 2009, 06:49 PM
BuisyBizz BuisyBizz is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2009
Posts: 1 BuisyBizz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 sec
Reputation Power: 0
Did you ever figure out how to do this? I'm trying to do the same thing.

Reply With Quote
  #8  
Old July 9th, 2009, 09:28 AM
Bijaya Bijaya is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Posts: 16 Bijaya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 54 m 23 sec
Reputation Power: 0
Adding Record in the bound Form using Command button

Quote:
Originally Posted by BuisyBizz
Did you ever figure out how to do this? I'm trying to do the same thing.


I did the same thing that Alan said

"Using a bound form, Access automatically updates any changes made. You would need to have an unbound form and then use a command button to fire the save to the table. It is important to pay attention to what you are modifying when using access".


I didn't use the unbound what he suggested but I started saying user to pay attention to what you are modifying when using access.

Bijaya

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesDatabase Development > Adding Record in the bound Form using Command button


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




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

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




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
Stay green...Green IT