[AccessD] Function vs Sub

John Bartow jbartow at earthlink.net
Thu Feb 13 11:15:00 CST 2003


John,
Use a function when you want a value returned to the procedure that called
it and use a sub when you don't.

JB


-----Original Message-----
From: accessd-admin at databaseadvisors.com
[mailto:accessd-admin at databaseadvisors.com]On Behalf Of John Clark
Sent: Thursday, February 13, 2003 10: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





More information about the AccessD mailing list