NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Trace an auto complete filter
« previous
next »
Print
Pages: [
1
]
Author
Topic: Trace an auto complete filter (Read 3454 times)
John Fligg
Sr. Member
Posts: 361
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
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
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
Logged
John Fligg
Sr. Member
Posts: 361
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
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
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
Logged
John Fligg
Sr. Member
Posts: 361
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
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Trace an auto complete filter