I give up. Something that seems so simple is complete eluding me.
I am creating a form for entering timeslips. We have claimant records and each claimant can have one to several authorizations.
I have created a form that looks up the claimant records perfectly. I can find each and every specific claimant thru a combo box lookup.
The problem is the authorizations. I am using a second combo box so that I can attempt to select between all the authorizations for each claimant. I have an authorization query that orders them correctly with each claimant's most recent authorization popping up first. I have no problem with a subform for this working just find but I cannot call out specific items on the subform so I go looking with a combo box.
I would like the combo box to show the most recent authorization code on each change of claimant on the form but only get empty boxes. I cannot make the combo box look for the authorizations. If I call out the WHERE qryauths.fldclaimno = combo6.column(1) I get an error message that there is no reference to "combo6.column". If I do it with qryauths.fldclaimno = qryclaimants.fldclaimno
I get a message box that asks me to manually enter the contents of qryclaimants.fldclaimno. If I enter the claimant number that I am looking at on the form, specifically combo6.column(1) and also filling a text box fo qryclaiamnts.fldclaimno, the combo box then works perfectly except I have to click on the down arrow to see any contents. It appears that the sql search does not reconize any info on the form.
Any help would be appreciated. Don't worry about the syntax above, when entering the queriers, etc, I do it right or let the wizards do it form me, the [qryclaimants]![fldclaimno], etc.
Thanks
I am creating a form for entering timeslips. We have claimant records and each claimant can have one to several authorizations.
I have created a form that looks up the claimant records perfectly. I can find each and every specific claimant thru a combo box lookup.
The problem is the authorizations. I am using a second combo box so that I can attempt to select between all the authorizations for each claimant. I have an authorization query that orders them correctly with each claimant's most recent authorization popping up first. I have no problem with a subform for this working just find but I cannot call out specific items on the subform so I go looking with a combo box.
I would like the combo box to show the most recent authorization code on each change of claimant on the form but only get empty boxes. I cannot make the combo box look for the authorizations. If I call out the WHERE qryauths.fldclaimno = combo6.column(1) I get an error message that there is no reference to "combo6.column". If I do it with qryauths.fldclaimno = qryclaimants.fldclaimno
I get a message box that asks me to manually enter the contents of qryclaimants.fldclaimno. If I enter the claimant number that I am looking at on the form, specifically combo6.column(1) and also filling a text box fo qryclaiamnts.fldclaimno, the combo box then works perfectly except I have to click on the down arrow to see any contents. It appears that the sql search does not reconize any info on the form.
Any help would be appreciated. Don't worry about the syntax above, when entering the queriers, etc, I do it right or let the wizards do it form me, the [qryclaimants]![fldclaimno], etc.
Thanks