(Desktop)Read and Write to sqlite database

I need to be able to create a customer via my window form and take all the info from the textfields and write them to the data base to store the customers info and display the Company name and Name of person in Listbox. Can anyone send me an example of a database for invoices or something to show me how to connect and manipulate sqlite database . i need to store all the customers info and create a unique customer ID and save it all the the database so i can access it and display it in a ListBox.!

Look in the examples in the Xojo folder. These are installed with Xojo itself.

There is a complete example under databases that is exactly what you are asking for.

Thank you so much @Simon Berridge