Mike and Doris Manning
mikedorism at ntelos.net
Thu Feb 13 10:53:01 CST 2003
Functions are used when you want the code to return a value or if you are calling OnAction from a customized menu bar. Subs are used when you don't need to return a value. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] On Behalf Of John Clark Sent: Thursday, February 13, 2003 11:20 AM To: accessd at databaseadvisors.com Subject: [AccessD] Function vs Sub I recently smartened up and started using fuctions in my code, and I've got what may be a very dumb question...should I be using "functions" or should they be "Public Subs" or ?????? What is the difference. I apologize if I am lowering the intelligence quota today, but I just haven't come across this and I don't want to go down the wrong path. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com