(The email admin says the setting is set on the google my account pages. So I need to find a way to php email with OAuth. Sigh.)
An additional issue that I have is that my iFrame has parent_name, child_name, and email_1 as form columns.
When a search is completed, and no text has been put in the iframe's Search box, there is a default search appended to my query:
(from nuDebug)
Code: Select all
[personbrowseiframeSQLML] => SELECT submission_id,child_name,parent_name,email_1
from patient_v
WHERE (child_name LIKE \"%%\") AND (parent_name LIKE \"%%\") AND ( (\"\" IS NOT NULL)
...
AND ( (CONVERT(child_name USING utf8) NOT LIKE \"%1%\" AND CONVERT(parent_name USING utf8) NOT LIKE \"%1%\" AND CONVERT(email_1 USING utf8) NOT LIKE \"%1%\") )
The last line nuBuilder added to my search.
If I put in a search term in the search field in the bar in the iFrame (such as "Z"), I get this appended instead:
Code: Select all
AND (CONVERT(child_name USING utf8) LIKE \"%Z%\" OR CONVERT(parent_name USING utf8) LIKE \"%Z%\" OR CONVERT(email_1 USING utf8) LIKE \"%Z%\") )
So, LIKE "%Text%" if the search field is set, and NOT LIKE "%1%" if the search field is not set.
Is there a way to change this behavior?
It is eliminating records with emails that have a '1' in them (31 active patients

)
Richard F.