What does this mean?

  • Thread starter Thread starter OverMyHead
  • Start date Start date
O

OverMyHead

I have a form that I use to lookup, create and modify records. I used a
template and modified it to fit my needs. However, when I opened the form it
opened up to a record within the DB that I had, but I wanted it to open up
blank.

To accomplish this I removed the first line of the maco which read:

Condition Action
IsNull([OpenArgs]) StopMacro

What does "IsNull([OpenArgs])" mean?

I really hope this makes sense.
 
OverMyHead.
Macros, while handy for beginners, are not as versatile as
VB code.

Create a macro that runs on the Form's OnOpen event.

Object Type: Form
Object Name: (Your form's name here)
Record: New
Offset:
This will force the form to go to a new (blank) record when it opens
--
hth
Al Campagna
Microsoft Access MVP
http://home.comcast.net/~cccsolutions/index.html

"Find a job that you love... and you'll never work a day in your life."
..
 
OverMyHead,
Sorry... I forgot to mention that the macro you run on the
OnOpen event is a GoToRecord with the following macro arguments...
Object Type: Form
Object Name: (Your form's name here)
Record: New
Offset: (leave blank)
That should do it...
--
hth
Al Campagna
Microsoft Access MVP
http://home.comcast.net/~cccsolutions/index.html

"Find a job that you love... and you'll never work a day in your life."
 
Back
Top