+ Start a Discussion
Bhola VishwakarmaBhola Vishwakarma 

Invalid type database .saveresult

i have created database Dml class i was working fine but i just edited i gave me the error so that why pasted the previous code but now it gives me error  invalid type database.saveresult


Can you paste your code here... which version of apex have you set?


Given that database.saveresult is a valid type, it may be that you have a clash of names - do you have a custom class called Database?

Rashmi TyagiRashmi Tyagi
Thanks bob, it resolved my issue though I missed your solution at first, beacuse of multiple other errors :)