You need to sign in to do that
Don't have an account?
magalie pickert
Invalid type: QueryResult --- Apex API Librairies
Hi,
i want to create a query in my apex class...
I become this failure: Invalid type: sforce.QueryResult
If i try to add import i become also a failure: Invalid type: sforce.QueryResult
How can i add in my code that i'm using salesforce apex librairie?
Thx
i want to create a query in my apex class...
I become this failure: Invalid type: sforce.QueryResult
If i try to add import i become also a failure: Invalid type: sforce.QueryResult
How can i add in my code that i'm using salesforce apex librairie?
Thx
sforce.QueryResult is used in JavaScript to call Salesforce via AJAX.
If you wish to create a query in Apex, you can do it in-line, eg:
List<Account>aa=[selectid,namefromaccountwherename='Acme'];
I would recommend the Force.com Cookbook for learning Apex syntax.
thx u...
I change that yesterday...
I had to change my code wo was 6 months old...
But thx for your quickly answer