Thanks, but how would I do that ?
Cheers
Si
Main Topics
Browse All TopicsHi people
We have recently migrated from CRM 3.0 to CRM 4.0 and have now found that if we want to do a direct email merge then it fails as the Allow Bulk Emails field is now blank.
How can I globally update all of the blank fields to be set to Yes ?
I've tried Workflows, Assigning to another User, and now I'm going through them manually, 250 at a time and running a workflow against them.
I can do an Advanced Find and a Workflow, but I can't apply the Workflow to the results of the Advanced find in batches of more than 250......
Surely I can't be the only one trying to do this ?
Cheers
Si
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
PLEASE MAKE SURE YOU HAVE A BACKUP OF YOUR CRM SQL DATABASE BEFORE TRYING THIS
IF YOU HAVE ANY DOUBTS CONSULT A LOCAL SQL EXPERT
Connect to your SQL Server that has the CRM database
Start SQL Management Studio
Make sure that you CRM database (something like yourorganization_MSCRM) is selected
Click on New Query
Type the one of the SQL statements that starts with update, shown below (replace AccountBase with ContactBase for contacts) and then click on Query| Execute. Please make sure that you are happy with what the update statement is doing.
Although id personally use the sql script provided above, there is a way to increase the results of an advanced find to whatever number you want so it might prove useful in the future.
In your crm installation on the server there is a file called grid.htc, if you open this up and go about half way down theres a javascript function called buildxml(), i cant exactly remember the name of the variable but i think its numResults, you can change this from 250 to a much larger number, that way you can run your workflow on the lot. Let me know if you have any problems and ill send you the code if you need it
Business Accounts
Answer for Membership
by: feridunPosted on 2009-08-07 at 11:02:41ID: 25045389
I would be tempted to this via a SQL update statement directly on the relevant entity (account, contact etc) table to set the field.
Make sure you know what you are doing and have a backup.
Updating the SQL tables directly is not supported but a simple update of a field should be ok provided you are careful.
I don't believe that there is any way to do what you want via the application.