My Assistant
![]() ![]() |
|
|
Sep 17 2008, 04:14 PM
Post
#1
|
|
|
UtterAccess Member Posts: 26 From: Orange County |
I have a control (cmbAdjuster) on frmClaimsInput that when the user double clicks I would like to open frmAdjusterInfo and go to the record for that adjuster, I tried the following code in the onDoubleClick property:
DoCmd.OpenForm "frmAdjusterInfo", , , "[txtAdjuster] = " & Form!frmClaimsInput!numAdjuster However I get the error: Can't find the field 'frmClaimsInput' referred to in your expression. I know I am doing something stupid wrong however I can't figure out what it is. Thanks, J |
|
|
|
Sep 17 2008, 04:35 PM
Post
#2
|
|
|
UA Admin Posts: 19,236 From: Newcastle, WA |
Try either
Forms!frmClaimsInput!numAdjuster or Me!numAdjuster |
|
|
|
Sep 17 2008, 04:37 PM
Post
#3
|
|
|
UtterAccess Addict Posts: 110 |
Hi
Try DoCmd.OpenForm "frmAdjusterInfo" DoCmd.GoToControl "txtAdjuster" DoCmd.FindRecord Forms!frmClaimsInput!numAdjuster Z Edited by: Zavenstar on Wed Sep 17 17:39:34 EDT 2008. |
|
|
|
Sep 17 2008, 04:52 PM
Post
#4
|
|
|
UtterAccess Member Posts: 26 From: Orange County |
Thanks Grover, I knew I was missing something little. It's exciting to learn this.
|
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 21st May 2013 - 08:50 AM |