Click to See Complete Forum and Search --> : help, How do I create a custom function to be used in the default value field.. of access


jat
March 14th, 2001, 02:26 AM
help, How do I create a custom function to be used in the default value field..
I need to make a function called GETDATE() in ACCESS. To make my code compatible with both Access an SQL server.

Option Compare Database

Function GETDATE() As Date
GETDATE = Now()
End Function

How can I make this function show up in the expression builder?