PC Review


Reply
Thread Tools Rate Thread

Re: "docmd.close..." a doubt

 
 
Allen Browne
Guest
Posts: n/a
 
      30th Jan 2004
The "save" associated with DoCmd.Close has no impact on the record. It is
the form itself that is/is not saved - properties such as its Filter and
OrderBy.

To discard the record and close the form, undo it:
If Me.Dirty Then
Me.Undo
End If
DoCmd.Close acForm, Me.name

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"rocco" <(E-Mail Removed)> wrote in message
news:48D86DA0-4486-4F01-8E09-(E-Mail Removed)...
> Hello,
> i ahve a doubt.
> it seems to me that the two lines:
> - docmd acform, formname, saveno
> - docmd acform, formname, saveyes
> both save data in table while i thought that the first one just close the

form without saving data in th table.
> Is this true?
>
> thanks,
>
> Rocco



 
Reply With Quote
 
 
 
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dotnet doubt can any body clarify my doubt challa462@gmail.com Microsoft ASP .NET 0 22nd Aug 2012 07:02 AM
I DOUBT THAT YOU CAN SOLVE THIS PROBLEM!! Ade Windows XP Security 3 16th Nov 2003 06:47 PM
Welchia/Nachi virus doubt Tojo Windows XP General 2 8th Nov 2003 03:05 AM
Welchia/Nachi virus doubt Tojo Windows XP Security 1 7th Nov 2003 04:13 PM
doubt satyanara Windows XP General 2 3rd Nov 2003 01:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:50 PM.