NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: John Fligg on April 11, 2012, 02:45:10 PM

Title: Trace an auto complete filter
Post by: John Fligg 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
Title: Re: Trace an auto complete filter
Post by: Bruce 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
Title: Re: Trace an auto complete filter
Post by: John Fligg 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
Title: Re: Trace an auto complete filter
Post by: Bruce 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
Title: Re: Trace an auto complete filter
Post by: John Fligg 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