C#Front demo

A new C#Front object is created.



The Demo program has three function.
1. Open Database
2. Get Customer and show in listbox
3. Add new customer



The "Open Database" calls cf.OpenDatabase and cf.OpenCompany - If the database is missing a error is displayed.


"Get Customers" opens the customer table (No. 18) and receives all records and adds the names to the listbox.



"Add Customer" creates a new record in table 18 with information from the two entry fields.



Click on "Open Database" - Database is opened.



Click on "Get Customers" - customers are added to the listbox.



Fill out Customer No. and Name and press "Add Customer" - Customer is added (And displayed after a quick click on "Get Customers").

 

   
Produktblade i pdf
C#Front