Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Advanced Find thinks a field 'Contains Data' when it is blank

(0) ShareShare
ReportReport
Posted on by 12,163

If I do an Advanced Find to determine if a particular field 'Contains Data' it returns all records whether the field contains data or not.

A few things to note about this field: a. it is a read-only custom text field that is updated via a Scribe integration with our ERP b. I do not know when this started as it used to work correctly without issue.

Very perplexing.

*This post is locked for comments

  • Joe Woltering Profile Picture
    12,163 on at
    RE: Advanced Find thinks a field 'Contains Data' when it is blank

    Thousands.

    I queried the SQL directly and indeed, rather than showing NULL the field is just blank. I am attempting to update them now via Scribe to try and clear them of any spaces or characters.

  • Suggested answer
    T.I.A Profile Picture
    1,760 on at
    RE: Advanced Find thinks a field 'Contains Data' when it is blank

    How many records are there in question? You could write a C# console application to clear the field on all the necessary records.

  • Joe Woltering Profile Picture
    12,163 on at
    RE: Advanced Find thinks a field 'Contains Data' when it is blank

    Thanks Wayne. How would I AF against spaces? And once I determine that to be the case, what would be the best way to clear them? via Workflow?

  • Suggested answer
    Wayne Walton Profile Picture
    13,728 on at
    RE: Advanced Find thinks a field 'Contains Data' when it is blank

    I would bet it's getting either a space ' ' or it's getting a nonprintable character '/n/p' You might want to advanced find against spaces, or add some logic to the Scribe integration to null out any data that's just spaces and nonprintable characters.

    Also, check your ERP data and clean that up as well.  I've seen that kind of stuff happen especially when data from old migrations are still used.  Goldmine used to be really bad about having nonstandard character returns and the like that would just gum up apparently blank fields.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans