[AccessD] Naming Convention (was Days Past Due - Grace Period)

Don Elliker delliker at hotmail.com
Wed Sep 10 09:19:57 CDT 2003


I don't get it...how do you ever know what the datatype is?? How do you know 
when an 'str' is really a string and when it will accept a form reference. 
How about overflows? If you follow that logic, what looks like a long, may 
be an integer.
I suppose you can do whatever you want, but if the logic is "I may need to 
have something else here but I want a string"...then why not (as I believe 
William suggested) make them all variant and leave off the datatype 
'convention' (not).
_d



"Things are only free to the extent that you don't pay for them".-Don 
Elliker





>From: Drew Wutka <DWUTKA at marlow.com>
>Reply-To: Access Developers discussion and problem 
>solving<accessd at databaseadvisors.com>
>To: "'Access Developers discussion and problem solving'" 
><accessd at databaseadvisors.com>
>Subject: RE: [AccessD] Days Past Due - Grace Period
>Date: Tue, 9 Sep 2003 16:33:06 -0500
>
>I don't think I have every prefixed a Variant as var, yet.  My logic in my
>statement is I want a string, so I prefixed it as a string, but it may need
>to be a variant, so it's declared as a variant.
>
>Drew
>
>-----Original Message-----
>From: Gustav Brock [mailto:gustav at cactus.dk]
>Sent: Tuesday, September 09, 2003 3:24 AM
>To: Access Developers discussion and problem solving
>Subject: Re: [AccessD] Days Past Due - Grace Period
>
>
>Hi Drew
>
> > .. I left the strStatus argument as a variant, in case it is ever
> > passed a null
>
>Then you should have renamed it varStatus ...
>
>/gustav
>
>_______________________________________________
>AccessD mailing list
>AccessD at databaseadvisors.com
>http://databaseadvisors.com/mailman/listinfo/accessd
>Website: http://www.databaseadvisors.com
>_______________________________________________
>AccessD mailing list
>AccessD at databaseadvisors.com
>http://databaseadvisors.com/mailman/listinfo/accessd
>Website: http://www.databaseadvisors.com

_________________________________________________________________
Use custom emotions -- try MSN Messenger 6.0! 
http://www.msnmessenger-download.com/tracking/reach_emoticon



More information about the AccessD mailing list