Minggu, 19 Maret 2017

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

 

I was born in Texas to a father of Hispanic heritage (there is a town called Biescas in Northern Spain) and a mother of British heritage.  I am a dual US-UK citizen who chose to retire in France.  I speak English and French fluently and can get by in Spanish.  I lived in Texas about 40% of my life - grew up in El Paso.

John Viescas, author
Effective SQL
SQL Queries for Mere Mortals
Microsoft Office Access 2010 Inside Out
Microsoft Office Access 2007 Inside Out
Building Access Applications

On Mar 19, 2017, at 02:05, david.pratt@outlook.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:

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: John Viescas <johnv@msn.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (4)

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