J
Junior
Have a subform with a cbo box with following SQL in row source -
I want to change the available selections based on the value in txtbox -
txtHybPos but i can't seem to get my syntax correct - because Access doesn't
recognize
my reference to txtHybPos - txtHybPos contains the correct string values and
if i substitute the actual string such as [TlkpNurType].[Pos]="RN" it works
what am i doing wrong?
SELECT [TlkpNurType].[NurTypeID], [TlkpNurType].[NurType] FROM TlkpNurType
WHERE [TlkpNurType].[Pos]=[Me]![txtHybPos] ORDER BY [TlkpNurType].[NurType]
;
I want to change the available selections based on the value in txtbox -
txtHybPos but i can't seem to get my syntax correct - because Access doesn't
recognize
my reference to txtHybPos - txtHybPos contains the correct string values and
if i substitute the actual string such as [TlkpNurType].[Pos]="RN" it works
what am i doing wrong?
SELECT [TlkpNurType].[NurTypeID], [TlkpNurType].[NurType] FROM TlkpNurType
WHERE [TlkpNurType].[Pos]=[Me]![txtHybPos] ORDER BY [TlkpNurType].[NurType]
;