Form view to Datasheet view

  • Thread starter Thread starter Al Camp
  • Start date Start date
A

Al Camp

Is there a VB command to cause a form (single form view - views
allowed = both) to change to Datasheet view... "on the fly"...
programmatically.

I checked out Default View, Views Allowed, and Current View, and
those don't appear to be what I want.

I have an Datasheet View icon on my toolbar, but I don't allow
users to access the toolbar.

Thanks in advance,

Al Camp
 
Al Camp said:
Is there a VB command to cause a form (single form view - views
allowed = both) to change to Datasheet view... "on the fly"...
programmatically.

I checked out Default View, Views Allowed, and Current View, and
those don't appear to be what I want.

I have an Datasheet View icon on my toolbar, but I don't allow
users to access the toolbar.

RunCommand acCmdDatasheetView
 
Thanks Dirk,
I knew it was do-able. Too bad the items I looked up in Help
didn't refer to the acCmd equivalent.... but I should have
thought to look there.
Thanks again,
Al Camp
 
Back
Top