Predefining control

stretch66

Racing towards the start
Local time
Today, 23:31
Joined
Sep 28, 2005
Messages
72
Hi,

I have two tables one tblContract and tblServices. tblServices includes ServicesID and ContractID.

If a new service is required to be added for an existing contract I want to be able to predefine the control ContractID on the fmAddNew but because the forms properties are set to Data Entry yes it does not allow me to predefine the value of ContractID from the previous form.

Is there a way around this.

I have tried me.contractid.value = form_fmContractDetails.value but it comes up with an error
 
It's Ok managed to sort it out. Just set the default value of that control to previous forms control value. Thinking out loud again!
 

Users who are viewing this thread

Back
Top Bottom