Many apologies if this has previously been asked and answered, the search facilities aren't working at the moment.
I need to create a VB app that will work with a PostgreSQL DB. Apart from reading data (views, tables and the like) which I can do, I need to be able to create views, indexes, etc through code. I have tried adding a reference to the pgSchema and can declare objects but most of the properties and methods seem to be read only and even though I 'SET' the objects I still get the "object variable not set" error.
Please can someone point out where I am going wrong.
Many thanks in advance,
Dave.
I need to create a VB app that will work with a PostgreSQL DB. Apart from reading data (views, tables and the like) which I can do, I need to be able to create views, indexes, etc through code. I have tried adding a reference to the pgSchema and can declare objects but most of the properties and methods seem to be read only and even though I 'SET' the objects I still get the "object variable not set" error.
Please can someone point out where I am going wrong.
Many thanks in advance,
Dave.