NetTalk Central

Author Topic: Trace an auto complete filter  (Read 3452 times)

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Trace an auto complete filter
« on: April 11, 2012, 02:45:10 PM »
On an update form I have a filter in my auto complete template:

'Pat:ContactGUID= ' & p_web.GSV('Inv:ContactGUID')

However it is not working as expected. Where would I put a trace statement to monitor the value of the filter?

Thanks

John

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Trace an auto complete filter
« Reply #1 on: April 11, 2012, 10:04:27 PM »
right click on the procedure in the IDE tree.
choose Source.
Search for the code you mentioned, to see where it is used.
From there select an embed point.

Cheers
Bruce

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Re: Trace an auto complete filter
« Reply #2 on: April 12, 2012, 12:03:48 AM »
Thanks Bruce. Well unless I am wrong it seems that the auto complete filter is not working.

Looks like another example is required.

John

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Trace an auto complete filter
« Reply #3 on: April 12, 2012, 01:16:51 AM »
is ContactGuid a string?

If so, the obvious problem is that you're missing the quotes.

'Pat:ContactGUID= <39>' & p_web.GSV('Inv:ContactGUID') & '<39>'

cheers
Bruce

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Re: Trace an auto complete filter
« Reply #4 on: April 12, 2012, 01:20:00 AM »
Yes Bruce - I should have posted I had realised that immediately after my post.

I am still in the C6 days where ID is long whereas GUID used for NT6 is a string.

John