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:
  #1  
Old September 21st, 2003, 06:45 AM
ubaid_Syed ubaid_Syed is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: KARACHI, PAKISTAN
Posts: 7 ubaid_Syed User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Ms Access - Subform Problems

READ THIS SCENARIO.... DO U HAVE SOLUTION....!!!!

User is creating or editing Orders in the Orders form provided in example Access 97 Northwind database. User edits order information in the main form and edits / adds / deletes multiple line items in the subform, then decides to abort the editing. Microsoft Access has already committed the main form record to the Orders table as well as the multiple line item edits. Undo from the Edit menu is not available.


ANY WAY OVERCOME THIS....????

S. OBAID

Reply With Quote
  #2  
Old September 23rd, 2003, 02:33 AM
Sadhanandh Sadhanandh is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Chennai, India.
Posts: 5 Sadhanandh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 53 sec
Reputation Power: 0
Hi

You may have to use BEGIN TRANSACTION after clicking on NEW Button, and once the Save is pressed then call COMMIT TRANSACTION. If Undo is pressed you can call ROLLBACK TRANSACTION to roll back the changes.

Reply With Quote
  #3  
Old September 23rd, 2003, 11:33 AM
ubaid_Syed ubaid_Syed is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: KARACHI, PAKISTAN
Posts: 7 ubaid_Syed User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
FIRST OF ALL THANKS FOR REPLYING.... BUT UNFORTUNATELY IT SEEMS I FAILED TO LET U UNDERSTAND MY POINT..!!!

IN SUBFORM USER ENTERED THREE RECORDS BY PRESSING ADDNEW BUTTON THREE TIMES, NOW AFTER ENTERING THREE RECORDS USER DECIDED TO CANCEL ALL THESE THREE RECORDS. JUST BY ONE SINGLE CLICK. CLICK ON UNDO... CANCEL ALL THESE THREE RECORDS ADDITION.

GOT MY POINT.....????


THANKS,
S. OBAID

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Ms Access - Subform Problems


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