09-15-2005 10:53 AM
09-15-2005 11:06 AM
09-15-2005 11:29 AM
Thank you very much. I saw your website and I am impressed.
Personally I am not at your level yet .
I have another question: why won't this VI work. I have done what it says to do, but it will not import data as results.
09-15-2005 11:37 AM
09-15-2005 12:43 PM
09-16-2005 01:34 PM
@Dennis Knutson wrote:
For the connection string, just enter the actual data source name that you created. If the data source name is "myDB", then that's all that you use. I think the LabSQL shipping example was in error. The ADO Connection Open will create the string DSN=myDB which is what the ADO Connection.Open property requires. There is something else missing in the LabSQL example that might give you problems. Some databases (i.e. SQLServer) require that you provide a user ID and password. The ADO Connection Open VI has inputs for these but there are no controls in the top level example. Create them if you need to.
09-16-2005 01:37 PM
@roboticstudent wrote:Thank you very much. I saw your website and I am impressed.
Personally I am not at your level yet .
I have another question: why won't this VI work. I have done what it says to do, but it will not import data as results.
09-16-2005 01:56 PM
09-19-2005 11:16 PM - edited 09-19-2005 11:16 PM
Hi Robot,
Your Vi works fine as long as you connect a valid "table" parameter
to the "DB Tools Drop Table.vi". I ran your example fine by
connecting "table" to the "Physical_Coordinates" string
constant. By singlestepping through the VI I could follow the creation and
deletion of the "Physical_Coordinates" table in my Access database.
To see a collection of the existing tables of your database, use the "DB
Tools List Tables.vi". That way you don't have to keep Access open to
verify the creation and deletion of the tables.
I hope this answers your questions, otherwise please let me know, thanks.
Have Fun!
Message Edited by Philip C. on 09-19-2005 11:16 PM
09-20-2005 09:37 AM
Hello,
Thanks Philip C. Your ideas are very helpful.
I am having problems implementing them so that they work.
How did you get a connection between "table" to the "Physical_Coordinates" string constant? The wiring showed error when I did this.
Also, why does the "DB Tools List Tables.vi" not reflect the creation and deletion of the table?
I have a VI attached to show how I connected the "DB ToolsList Tables.vi" but the the Front Panel does not show the collection of the existing tables in my Access database.
Thanks again for your assistance.