You need to sign in to do that
Don't have an account?
Deanna Aaron 4
How to create a visual force page that can be used to display the results of an SOQL query
Hi. I'm a Salesforce Admin that has never created a visualforce page before (so bare with me please). My supervisor asked me to create a visual force page that can be used to display the results of an SOQL query. What do I need to do to accomplish this? I sincerely appreciate your help!
Can you give brief ur requirement, I can try to help you.
Thanks,
Prasanthi
For this requirement, you have to work on 2 steps
Step1:- Create an apex class that retrieves records from a SOQL query
Step2:- Create a Visualforce page to display the results returned from this SOQL query
create Apex class from developer console and use the below code:-
create Visualforce Page from Developer console and use the below code:-
Thanks and regards,
Suraj Tripathi
Please Mark It As Best Answer If It Solves your issue.
SELECT fferpcore__Account__c, fferpcore__CustomerReference__c, fferpcore__DocumentDate__c, fferpcore__DocumentStatus__c, Total_Invoice__c, ffaci__CongaEmailStatus__c, Id FROM fferpcore__BillingDocument__c WHERE fferpcore__DocumentStatus__c = 'Complete' AND TPx_Special_Invoice__c=FALSE AND fferpcore__DocumentType__c ='Invoice' AND ffaci__CongaEmailStatus__c != 'Sent' LIMIT 999