Hi Jason
Yes after using Dataassist to create the standar administrative user pages, I added
the UserGroup to the insert page, and that works fine
on the update page I also put in the UserGroup field to retrieve this information from the users table. That also works fine..
Then on the Search page I created a rs for bringing in the men/list for UserGroups and on the results page I added the field for filtering...
that should be right ???
but it dont works, it just returns all posts
regards
bison
This is the field I have set in on the users_search.php
---
<li class="formItem">
<div class="formGroup">
<div class="lineGroup">
<div class="fullColumnGroup">
<label for="UserGroupID" class="sublabel" >Bruger Type:</label>
<div class="errorGroup">
<div class="fieldPair">
<div class="fieldGroup">
<span>
<select class="formMenufield_Medium" name="UserGroupID" id="UserGroupID" tabindex="13">
<option value="value">Vælg gruppe</option>
<?php
do {
?>
<option value="<?php echo $row_WADAMenuUserGroupID['UserGroupID']?>"><?php echo $row_WADAMenuUserGroupID['UserGroup']?></option>
<?php
} while ($row_WADAMenuUserGroupID = mysql_fetch_assoc($WADAMenuUserGroupID));
$rows = mysql_num_rows($WADAMenuUserGroupID);
if($rows > 0) {
mysql_data_seek($WADAMenuUserGroupID, 0);
$row_WADAMenuUserGroupID = mysql_fetch_assoc($WADAMenuUserGroupID);
}
?>
</select>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</li>
---
In DataAssist Search (WADAUsers) on the users_results.php page I`ve
added a filtered field:
Type EDIT
Separator AND
Column UserGroupID
CT = N
Value USerGroupID
Type of field is set as List