A
anthony
On my form I have a combo which looks up a record in the underlying
table. The columns are ChildAOLTermID (primary key), PhotoID (primary
key) and a column with an amalgamation of fields eg [LastName] & ", "
& [FirstName] etc. The first two columns are set at 0 size and the
lookup is actually carried out using the third. I want to put
something in the current event of the form so that the combo reflects
the current record as I move back and forth through the records. I
imagined that:
Me.cboFindRecord.Column(0) = ChildAOLTermID AND
Me.cboFindRecord.Column(1) = PhotoID
might work but I get "Object required". I've played around with
various different approaches but as soon as I deploy .column, I get
the error. Both column(0) and column(1) need to be populated correctly
as together they form the unique record
Many thanks for your help
table. The columns are ChildAOLTermID (primary key), PhotoID (primary
key) and a column with an amalgamation of fields eg [LastName] & ", "
& [FirstName] etc. The first two columns are set at 0 size and the
lookup is actually carried out using the third. I want to put
something in the current event of the form so that the combo reflects
the current record as I move back and forth through the records. I
imagined that:
Me.cboFindRecord.Column(0) = ChildAOLTermID AND
Me.cboFindRecord.Column(1) = PhotoID
might work but I get "Object required". I've played around with
various different approaches but as soon as I deploy .column, I get
the error. Both column(0) and column(1) need to be populated correctly
as together they form the unique record
Many thanks for your help