Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works

Navigating from a click on Access subform field

  • Please log in to reply



    New Member

  • Member
  • Pip
  • 1 posts
Hi, just joined tonight :) Hope someone can help me with this annoyance!

I've created a main menu form in Access 2007 called “frmSwitchboard” and embedded in that is a subform called "subfrmSwitchboard" that contains all customer orders of a certain type (Active, Paid, Unpaid). Each order has an Autonumber field called ID as it's primary key.

Linked to the ID field on the subform is a macro that should open up "frmOrders" with the relevant order number's record shown when you click the relevant ID number on the subform. If I open up the subform on its own in datasheet view and click an ID field then the relevant order form appears, great.

However, if I do this within the subform being present on the main form (frmSwitchboard) it doesn’t, I get an input box appearing with the WHERE clause from my macro showing:


The WHERE clause in the macro is: [ID]=[Forms]![subfrmswitchboard]![ID]

If I type in the order ID then the form appears but I want this nuisance not to be the case. Where have I gone wrong?

Many thanks in advance.
  • 0


Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP