I have a custom field (my_custom_field) set quicksearch and get data from another table.
Row_Rendering() {
$rs = ExecuteScalar(“SELECT id …”);
$this->my_custom_field->CurrentValue=$rs;
}
when i search for my_custom_field, it’s nothing.
How to quick search for my_custom_field.
Thanks a lot!
You better create a real Custom Field, see the topic Custom Field in the help file.
You’d better use “Row_Rendered” instead of “Row_Rendering” server event.
In addition, try to use ViewValue instead of CurrentValue to display your desired value.