You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Retrieving values from Contact table

Accepted answer
edited Jun 8, 2022 11:57AM in General Technical Discussions 8 comments



I am trying to fetch the name of the contact from Contacts table. For that I created a button and on button click i wrote the fetch queries. I used RNObject for retrieving data. While I run the below mentioned code it throws an exception. The exception was " Object reference not set to an instance of an object"

Can anybody tell what wrong with my code. Please give me an answer. 

I wrote the code in Visual studio 2012/ C# project.

Code Snippet

             public void _usrCtrl_btnClicked()
            ClientInfoHeader clientInfoHeader = new ClientInfoHeader();
            clientInfoHeader.AppID = "Retrieve Data";
            //String queryString = "SELECT Contact FROM Contact LIMIT 1";
            Contact contactTemplate = new Contact();

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!