Sabtu, 18 Maret 2017

Re: [MS_AccessPros] Private vs Public Function SaveIt()

 

Yes, and I see after using it that if it were public I couldn't really have custom messages for the error messages.

thank you for sharing the Contacts database and for documenting it so well that the code is easy to understand.

one thing I don't understand...
You live in France, Viescas is what Spanish or Italian?  But you use words like I would, a native Texan. Have you been in Texas?


---In MS_Access_Professionals@yahoogroups.com, <JohnV@...> wrote :

David-

I suppose I could have made it a Public function, but that would have required passing the form object and changing the references to Me.

John Viescas, Author
Effective SQL
SQL Queries for Mere Mortals 
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications 
(Paris, France)




On Mar 18, 2017, at 6:46 PM, david.pratt@... [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:



John, why did you choose to make SaveIt() a Private function?

Obviously it would be easier if Public and included in your modUtility, so there must be a good reason.





__._,_.___

Posted by: david.pratt@outlook.com
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (3)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


.

__,_._,___

Tidak ada komentar:

Posting Komentar