Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Default Value on Child Form Not Working 1

Status
Not open for further replies.

djs45uk

Technical User
Nov 7, 2004
103
GB
I have a form called Switchboard and on it is a subform called Hardware_Spares.

When a user double clicks on a row in the Hardware_Spares subform, another form opens called Harware_Spares_Details.

This all works fine!

The problem I've been having is that when Hardware_Spares_Details opens, it is supposed to take a value from the parent form (Hardware_Spares). It works on my laptop but when I open the database on another machine, it doesn't.

The code I am using in the Default Value property of the Hardware_Spares_Details form is:

Code:
=[Forms]![Switchboard]![Hardware_Spares]![hardwareID]

I've been fiddling for 2 hours to try and make this work and now I'm loosing the will to live.

Your help is very much appreciated.

Many thanks

Daniel
 
Is hardware spare a subform? If so:
=[Forms]![Switchboard]![Hardware_Spares].Form![hardwareID]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top