NetTalk Central

Author Topic: Browse refuses filter  (Read 3565 times)

ccordes

  • Sr. Member
  • ****
  • Posts: 384
    • View Profile
    • Email
Browse refuses filter
« on: November 21, 2010, 05:35:44 PM »
I have a relatively simple browse Orders - Customers filtered by two status fields. Status=Approved and orderstatus = NewCOD. which never returns any records.
This is in the filter -
'((Ord:DrStatus=' & Status:Approved & ') AND (Ord:Satus=' & status:CODNew &'))'
Both Ord:DrStatus and Ord:Status are in the Hot Fields.
and looking in the data, there are orders that meet these criteria.
Status:Approved and Status:CODNew are equates.

I put a ds_debug statement after the filter is that outputs ThisView{Prop:filter} as this -
'((Ord:DrStatus=1) AND (Ord:Satus=4))'

Any suggestions on why this might not work?

Thanks,
chris
Real programmers use copy con newapp.exe

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Browse refuses filter
« Reply #1 on: November 21, 2010, 05:44:56 PM »
Hi Chris,

Is this right?

Ord:Satus

If yes then try the filter on each element to see which one is failing or maybe both

ccordes

  • Sr. Member
  • ****
  • Posts: 384
    • View Profile
    • Email
Re: Browse refuses filter
« Reply #2 on: November 21, 2010, 06:27:49 PM »
typo. but I will try just one and the other.
Real programmers use copy con newapp.exe

ccordes

  • Sr. Member
  • ****
  • Posts: 384
    • View Profile
    • Email
Re: Browse refuses filter
« Reply #3 on: November 22, 2010, 10:23:58 AM »
 :o OH Man, now that  is the danger of entrenched thinking. Even after the error is pointed out, I don't see it.
I copied the filter out to Free mind and then copied the pieces back. The ord:satus filter didn't work! Why? whi -I yi yi - satus . Thanks Kevin.
Real programmers use copy con newapp.exe