saintedmunds
Technical User
HI
I have an app that sends out bulk emails from my Database.
So it loops round sending the email and it either succedded or failed.
Now I want to record this info in a database lets say table name EmailCampaignResults FieldNames ContactID CampaignID and Succedded(Bit/True 0r False) now i can do the insert etc but when is best to do this?
If i do it after each send I have to open the database add the data close the database then go on to the next one this seems a very slow and longwinded way.
Would it be better to store the data in an Array or Dataset and then add this to the database after all the sending is complete?
What do you think would be best?
Cheers
I have an app that sends out bulk emails from my Database.
So it loops round sending the email and it either succedded or failed.
Now I want to record this info in a database lets say table name EmailCampaignResults FieldNames ContactID CampaignID and Succedded(Bit/True 0r False) now i can do the insert etc but when is best to do this?
If i do it after each send I have to open the database add the data close the database then go on to the next one this seems a very slow and longwinded way.
Would it be better to store the data in an Array or Dataset and then add this to the database after all the sending is complete?
What do you think would be best?
Cheers