Need Help with Filter Please.
Posted: Mon Jun 09, 2008 3:06 am
With advantage and .dbf with .cdx
filt1 = "closesysid = val('"+str(server->sysid)+"') .AND. CAPTURED = .t. .AND. DEBIT = .f."
ADSSetAOF( filt1 , ADS_RESOLVE_IMMEDIATE )
And it works great.
With advantage I made .adt with .adi
The filter no longer works and ADSSetAOF() returns .t.
if I use
set filter to (ckcard->closesysid = server->sysid .AND. CKCARD->CAPTURED .AND. ! CKCARD->DEBIT)
It works.
My Questions Is.
Does set filter to ??? execute as fast with .adt &.adi files.
If Not.
Anybody know what I have wrong in the above ADSSetAOF()
Thanks in Advance.
Mike
filt1 = "closesysid = val('"+str(server->sysid)+"') .AND. CAPTURED = .t. .AND. DEBIT = .f."
ADSSetAOF( filt1 , ADS_RESOLVE_IMMEDIATE )
And it works great.
With advantage I made .adt with .adi
The filter no longer works and ADSSetAOF() returns .t.
if I use
set filter to (ckcard->closesysid = server->sysid .AND. CKCARD->CAPTURED .AND. ! CKCARD->DEBIT)
It works.
My Questions Is.
Does set filter to ??? execute as fast with .adt &.adi files.
If Not.
Anybody know what I have wrong in the above ADSSetAOF()
Thanks in Advance.
Mike