NetTalk Central

Author Topic: Please help with filter problem  (Read 2310 times)

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Please help with filter problem
« on: July 06, 2010, 07:37:16 AM »
I am trying to filter a browse. 

I have a global variable named CurrentUser (STRING)

When the user logs in I did this in the validate update (end) embed:

p_web.SetSessionValue('CurrentUser',Users:UserName)

In the browse procedure default filter I did this:

'Users:UserName=<39>'& p_web.GSV('CurrentUser') & '<39>'

I've tried it without the <39> and with it.  I simply cannot get the filter to work.  I'm about 95% sure the session variable is getting set. 

I have no idea what is wrong.

Any help appreciated.

Don
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Please help with filter problem
« Reply #1 on: July 06, 2010, 08:21:39 AM »
Okay, I got it to work.  But I have to delete the app's CLW and INC files after every build to see the changes.  What setting can I change to completely rebuild the CLW and INC files on every build?

Don
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11186
    • View Profile
Re: Please help with filter problem
« Reply #2 on: July 07, 2010, 12:25:08 AM »
what version of Clarion?

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Please help with filter problem
« Reply #3 on: July 07, 2010, 08:00:53 AM »
Clarion 7.2 7283
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11186
    • View Profile
Re: Please help with filter problem
« Reply #4 on: July 07, 2010, 11:16:25 PM »
Sorry I'm being dense - there it is in your tag line.
I've noticed issues generally with C7 and generating - so I don't think this is a NetTalk specific problem. I'll follow up with SV to see if they know anything about it.

cheers
Bruce