If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Quickie / Form Subform
I have a form, f1.
I have a subform, s1. There is a field on s1 titled [ID]. I want to use that [ID] field as criteria in a query. Microsoft shows: Forms![main form name]![subform control name].Form![control name] I can't seem to get anything like this to work. What am I doing wrong? TIA! ks |
#2
|
|||
|
|||
Quickie / Form Subform
Try
Forms![f1]![s1].Form![ID] Jim -----Original Message----- I have a form, f1. I have a subform, s1. There is a field on s1 titled [ID]. I want to use that [ID] field as criteria in a query. Microsoft shows: Forms![main form name]![subform control name].Form![control name] I can't seem to get anything like this to work. What am I doing wrong? TIA! ks . |
#3
|
|||
|
|||
Quickie / Form Subform
Thank you for the reply!
It ended up that Access named my subform (q1) after the query when I dragged the subform onto the mainform. Consequently, when I created my reference, my subform name (s1) and what access named my subform (q1) on the main form did not match. Refering to s1 kept erroring out. I simply opened the main form, renamed the embedded subform (q1) to s1 and it works. :^) "Jim/Chris" wrote in message ... Try Forms![f1]![s1].Form![ID] Jim -----Original Message----- I have a form, f1. I have a subform, s1. There is a field on s1 titled [ID]. I want to use that [ID] field as criteria in a query. Microsoft shows: Forms![main form name]![subform control name].Form![control name] I can't seem to get anything like this to work. What am I doing wrong? TIA! ks . |
Thread Tools | |
Display Modes | |
|
|