I am back again, again thanks to all who helped me log in. Now I just need some simple syntax advice from you. I am searching this Rapattoni server (or attempting to) simply to get a feel for the grander picture.
I have some code like this:
dim searchUrl as string = response.getsearchurl()
dim sr1 as searchrequest = session.CreateSearchRequest("PROPERTY", "RESI", "(ZipCode=40342), (Status=Active)")
sr1.SetStandardName(False)
sr1.SetSelect("ListingPrice, Bedrooms,
City")
sr1.SetLimit(SearchRequest.LIMIT_DEFAULT)
sr1.SetOffset(SearchRequest.OFFSET_NONE)
sr1.SetCountType(SearchRequest.CountType.RECORD_COUNT_AND_RESULTS)
dim results as SearchResultSet = session.Search(sr1)
When I run this code I get error Invalid Query Syntax (librets.RetsReplyExceptionNative: Invalid Query Syntax.) and it flags the error on the dim results as SearchResultSet. I'm certain this is a very simple error and something obvious that I'm missing, which is why I post it here. I'm guessing most of you could just glance at this and get the error. I'm hoping anyway.
.NET Developer/Graphic Designer