Nice day to all.
I need to set
where ldMyDate is date type variable.
To avoid troubles I want to refer to literal values only so I rewrite the code to:
It seems to work properly, but my question is: can it be simplified?
Any recommendations?
Thanks Toman
I need to set
Code:
INDEX ON expr FOR MyFieldName = ldMyDate
To avoid troubles I want to refer to literal values only so I rewrite the code to:
Code:
lcMyDate ="{" + DTOC(ldMyDate) + "}"
INDEX ON expr FOR MyFieldName = &lcMyDate
It seems to work properly, but my question is: can it be simplified?
Any recommendations?
Thanks Toman