Default property (1 Viewer)

Vulcan1500

Registered User.
Local time
Today, 07:44
Joined
Nov 13, 2007
Messages
143
In the default property of a subform control I want to use a control of the main form without using names of forms, but using me and parent.

I used in default property of cboVATDetail: =Me.Parent!cboVAT, but it is not accepted. My aim is to use cboVAT of parent as default in cboVATDetail of child.

Any suggestion?
 
Last edited:

JHB

Have been here a while
Local time
Today, 08:44
Joined
Jun 17, 2012
Messages
7,732
Try the below:
Code:
=[parent]![cboVAT]
 

Vulcan1500

Registered User.
Local time
Today, 07:44
Joined
Nov 13, 2007
Messages
143
Thanks JHB! It's working now with your help.
 

JHB

Have been here a while
Local time
Today, 08:44
Joined
Jun 17, 2012
Messages
7,732
You're welcome, good luck.
 

Users who are viewing this thread

Top Bottom