First time here? Check out the FAQ!
0

SearchQuery - Using phrets (Troy Davisson) Correct Query

Using Phrets (Troy Davisson), what is correct Query for getting all active properties. Tried this and got nothing: $query = "(L_StatusCatID=Active)";

$search = $rets->SearchQuery("Property", $class, $query, array('Limit' => 100));

wildgoose's avatar
wildgoose
asked 2017-09-21 10:18:05 -0500
bwolven's avatar
bwolven
updated 2017-09-27 09:35:46 -0500
edit flag offensive 0 remove flag close merge delete

Comments

Sorry, forgot to mention MLS is BCAR

wildgoose's avatar wildgoose (2017-09-21 10:18:36 -0500) edit

Were you able to get this working?

bwolven's avatar bwolven (2017-09-29 15:33:26 -0500) edit

You can use RETSMD.COM to help you identify the proper field names and content for your query. Addition resources are in this post.

DACO's avatar DACO (2018-08-09 06:01:11 -0500) edit
add a comment see more comments

1 Answer

0

Query should be "(L_StatusCatID=1)". But you should have gotten an error returned saying invalid query?

bwolven's avatar
bwolven
answered 2017-09-27 09:35:16 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Login/Signup to Answer