11-21-2006 12:48 PM
11-27-2006 09:22 PM
Hi hank hank,
I have looked through your LabVIEW code, and do not find anything that jumps
out at me as being incorrect. Can you please provide a bit more
information for me though? What version of the Database Connectivity
Toolkit are you using? What version of LabVIEW are you programming with,
and do you get a specific error code number or is it just the error description
you have given?
I hope to hear from you soon, and have a great day!!
11-28-2006 07:17 AM
Hi Ching,
I got it to work yesterday by changing the connection string in the 'open connection' node from 'DSN=MetTrack_pctoolcrib' to 'Provider=vfpoledb;DSN=MetTrack_pctoolcrib'.
I think that when I set up the odbc link in the odbc administrator, even though it was using the visual fox pro driver, I think it was defaulting to use the 'ole db for obdc' provider and not allow me to change to it.
Adding the 'provider=vfpoledb' to the connection string made it start working. It still doesn't seem to like taking field names as parameters, if I use 'select ? from xxx...' and append the field name to the parameters collection, it will return the literal field name, not the field value, but I can live with hard coding them in, since they won't change for what I'm trying to do, but it seemed weird, since only the field names were acting funny.
Thanks,
Ken
11-29-2006 06:07 PM