[AccessD] Static Function Tutorial (was Like Operator SQL Syntax)

Gustav Brock gustav at cactus.dk
Mon Jun 9 03:56:43 CDT 2003


Hi Arthur

> .. I use -1 as the reset value ..

So what do you do when such a function carries a Boolean?
Wouldn't Null be a better "value" to use for this?

A solution to end such considerations is to add an optional parameter:

> Static Function CurrentX(Optional lngNew As Long, _
>   Optional ByVal booReset As Boolean) As Long

It's a matter of taste and needs I guess.

/gustav



More information about the AccessD mailing list