• Dinesh Kumar 469
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi,
 
I am trying to insert a new entry in my database with the insert call. but I always get the 

DML currently not allowed

message.

I just fill the customer object fields and call insert like following:

Custom__c custom=new Custom__c();

custom.name='blabla';

custom.value='blabla';

insert custom;

Does anyone knows how to solve this problem. Thanks in advance.

 

bye

 

 

  • January 03, 2008
  • Like
  • 0