Share via

Using NavigateTo Method

Anonymous
2015-04-24T10:22:55+00:00

I'm unable to find actual examples for NavigateTo, either on the web or in access help.

I've tired all the following:

DoCmd.NavigateTo ([Auto Maintenance],[Objects])

DoCmd.NavigateTo ("Auto Maintenance","Objects")

DoCmd.NavigateTo [Auto Maintenance],[Objects]

DoCmd.NavigateTo [Auto Maintenance],[Objects]

As I type past DoCmd.NavigateTo the example:

DoCmd.NavigateTo([Category],[Group])

I type it in exactly, with my of the Category and Group names but keep getting an error like. "Expected =]

James

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2015-04-24T10:50:46+00:00

    Thanks Hans, I just realized that.

    Thanks again,

    James

    Was this answer helpful?

    0 comments No comments
  2. HansV 462.6K Reputation points
    2015-04-24T10:49:31+00:00

    Both arguments are strings. Try

    DoCmd.NavigateTo "Auto Maintenance", "Objects"

    Was this answer helpful?

    0 comments No comments