G
Guest
I’m a novice at VB programming. At present I’m working my way through this
Microsoft article:
http://www.microsoft.com/accessdev/articles/bapp97/chapters/ba02_3.htm
(Chapter 2 - Introducing Visual Basic)
(Part 3, Creating your first function)
I’ve set up a practice database.
I created the module: FirstOfNextMonth()
I created a simple Orders table with 4 fields including BillingDate.
I created an Orders form with controls for each field.
In design view I opened the Properties dialog box.
Under ControlSource I deleted BillingDate and typed
=FirstOfNextMonth()
When I switched to form view the control displayed #Name?
As far as I can tell, I simply copied the instructions from the article.
I am completely lost - where have I gone wrong?
Microsoft article:
http://www.microsoft.com/accessdev/articles/bapp97/chapters/ba02_3.htm
(Chapter 2 - Introducing Visual Basic)
(Part 3, Creating your first function)
I’ve set up a practice database.
I created the module: FirstOfNextMonth()
I created a simple Orders table with 4 fields including BillingDate.
I created an Orders form with controls for each field.
In design view I opened the Properties dialog box.
Under ControlSource I deleted BillingDate and typed
=FirstOfNextMonth()
When I switched to form view the control displayed #Name?
As far as I can tell, I simply copied the instructions from the article.
I am completely lost - where have I gone wrong?