Hi,
I have a problem with this query.
UPDATE MorningBite SET MorningBite.hideproduct =
IIf(MorningBite.customfield1='OUT OF STOCK',"Y","N");
My main purpose in this query is to make the field
customfield1 as the reference and hideproduct will be
the output for Y and N.
Example.
Table: Morningbite
Field: customfield1 and hideproduct
customfield1 hideproduct
OUT OF STOCK Y
out of stock Y
Out Of Stock! Y
IN STOCK! N
how to use case sensitive here? because i have in the
code customfield1 = 'OUT OF STOCK" only. How will i put
other options?
because its not possible to have like these out of
stock, Out Of Stock!,etc.
customfield1 is not only equal to "OUT OF STOCK"
but many like "OUT OF STOCK!" , "Out of Stock" etc
I want to add them but how?
Thank you.
I have a problem with this query.
UPDATE MorningBite SET MorningBite.hideproduct =
IIf(MorningBite.customfield1='OUT OF STOCK',"Y","N");
My main purpose in this query is to make the field
customfield1 as the reference and hideproduct will be
the output for Y and N.
Example.
Table: Morningbite
Field: customfield1 and hideproduct
customfield1 hideproduct
OUT OF STOCK Y
out of stock Y
Out Of Stock! Y
IN STOCK! N
how to use case sensitive here? because i have in the
code customfield1 = 'OUT OF STOCK" only. How will i put
other options?
because its not possible to have like these out of
stock, Out Of Stock!,etc.
customfield1 is not only equal to "OUT OF STOCK"
but many like "OUT OF STOCK!" , "Out of Stock" etc
I want to add them but how?
Thank you.