RealThinClient SDK - Accessing Databases - The Client
RealThinClient SDK - Accessing Databases - The Client
– The Client
The Client
This is the article for the client in the Accessing Databases article. At this moment, we have
our Server ready, so now it’s time to create the Client that will ask for the data. In this case,
this client is really simple, in fact, as simple as it could be. This Client will call a function on
the Server and get back the content of the table tbl_products in our Server’s database.
Steps.
1. Create a form for the Client with the needed components.
2. Write the code to call the Remote Function.
Client Running
If there’s a problem connecting with the Server we will get an error:
Client Error
Otherwise, we will get the results back:
Client Result
With this simple steps we have a Server sending content over the network to a client that
displays the results. This is a ver basic example but can give you a very clear idea on how
powerful and easy to use are the RealThinClient components.