Dear friends, how can I seek or scope for not empty dates other than using an index with for clause !Empty( FIELD -> date )?
Thank you in advance for any ideas.
EMG
Dear friends, how can I seek or scope for not empty dates other than using an index with for clause !Empty( FIELD -> date )?
Thank you in advance for any ideas.
EMG
If you have an index based on filed->DATE you might soft seek ou bottom scope to the first day of the epoch your are set.
Can you give us some examples where it is a problem?
ORDSCOPE( 0, CTOD( "" ) + 1 )
DBSEEK( CTOD("") + 1, .T. ) // softseek
Thank you, my friends. ![]()
EMG
Nages,
Sharp thinking! I like it.
James
INDEX ON IF( FIELD -> priorita, " ", "*" ) + UPPER( FIELD -> societa ) TO SOCIETA2
SEEK " "
SEEK "*"
SET SCOPE TO " "
SET SCOPE TO "*"You could create 2 distincs tags with FOR clause, one FOR priorita and the other FOR !priorita. Otherwise I can´t see how to get rid of the IF.
ADutheil wrote:You could create 2 distincs tags with FOR clause, one FOR priorita and the other FOR !priorita. Otherwise I can´t see how to get rid of the IF.
ADutheil wrote:You could create 2 distincs tags with FOR clause, one FOR priorita and the other FOR !priorita. Otherwise I can´t see how to get rid of the IF.