Hey There ...
This is my select query:
SELECT ETLCORE_CIF_OBJT_CTNR.CIF_OBJT_CTNR_ID, ETLCORE_CIF_OBJT_CTNR.CIF_OBJT_CTNR_NME, ETLCORE_CIF_OBJT_CTNR.CRE_ID, ETLCORE_CIF_OBJT_CTNR.CRE_DTTM, ETLCORE_CIF_OBJT_CTNR.LST_MDFD_ID, ETLCORE_CIF_OBJT_CTNR.LST_MDFD_DTTM, ETLCORE_CIF_OBJT_CTNR.DEL_INDC
FROM ETLCORE_CIF_OBJT_CTNR
WHERE (((ETLCORE_CIF_OBJT_CTNR.CIF_OBJT_CTNR_NME) Like "Forms!250_Object_Container_frm.txtCIF_OBJT_CTNR%"));
The results are no records. I have narrowed it down to my WHERE clause and have tried the follow scenarios:
WHERE (((ETLCORE_CIF_OBJT_CTNR.CIF_OBJT_CTNR_NME) Like "Forms![250_Object_Container_frm].[txtCIF_OBJT_CTN]%"))
Results in no records
WHERE (((ETLCORE_CIF_OBJT_CTNR.CIF_OBJT_CTNR_NME) Like "Forms![250_Object_Container_frm].[txtCIF_OBJT_CTN]"))
This gives me the 1 record that matches the value of txtCIF_OBJT_CTN (which in this particular case is "NEW"
WHERE (((ETLCORE_CIF_OBJT_CTNR.CIF_OBJT_CTNR_NME) Like "NEW%"))
This last WHERE clause gives me the correct set of records... all the records starting with "NEW"
My question is this: Why doesn't the first or second WHERE clause work if technically they are the same value???
Thanks much!
gwoman
This is my select query:
SELECT ETLCORE_CIF_OBJT_CTNR.CIF_OBJT_CTNR_ID, ETLCORE_CIF_OBJT_CTNR.CIF_OBJT_CTNR_NME, ETLCORE_CIF_OBJT_CTNR.CRE_ID, ETLCORE_CIF_OBJT_CTNR.CRE_DTTM, ETLCORE_CIF_OBJT_CTNR.LST_MDFD_ID, ETLCORE_CIF_OBJT_CTNR.LST_MDFD_DTTM, ETLCORE_CIF_OBJT_CTNR.DEL_INDC
FROM ETLCORE_CIF_OBJT_CTNR
WHERE (((ETLCORE_CIF_OBJT_CTNR.CIF_OBJT_CTNR_NME) Like "Forms!250_Object_Container_frm.txtCIF_OBJT_CTNR%"));
The results are no records. I have narrowed it down to my WHERE clause and have tried the follow scenarios:
WHERE (((ETLCORE_CIF_OBJT_CTNR.CIF_OBJT_CTNR_NME) Like "Forms![250_Object_Container_frm].[txtCIF_OBJT_CTN]%"))
Results in no records
WHERE (((ETLCORE_CIF_OBJT_CTNR.CIF_OBJT_CTNR_NME) Like "Forms![250_Object_Container_frm].[txtCIF_OBJT_CTN]"))
This gives me the 1 record that matches the value of txtCIF_OBJT_CTN (which in this particular case is "NEW"
WHERE (((ETLCORE_CIF_OBJT_CTNR.CIF_OBJT_CTNR_NME) Like "NEW%"))
This last WHERE clause gives me the correct set of records... all the records starting with "NEW"
My question is this: Why doesn't the first or second WHERE clause work if technically they are the same value???
Thanks much!
gwoman