LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

GP Fault with CVI5.5 and SQL 2.05

Group,

I have been reading the threads about CVI5.5, SQL2.0, and VC6 SP4 having
problems,
I am new to ODBC programing, but my code connects to the DB with no problems
and I am able to update my UIR with the data, no problems, but here is my
problem when I try to write the updated data from the UIR back to the DB:

// Connect DB Works OK!

// ActivateDB Works OK!

// Bind Col SQL Works OK!

// Fetch Works OK!

// GetCtrlVal Works OK!

// Local Variable Updated Works OK!

// DBPutRecord General Protection Fault!!!!!!!!!!!!!!!
Arg!!!!!!!!!!


OP System: NT4 Client
Softwar
e: All listed above

What am I missing?

Thanks,

Gregg
0 Kudos
Message 1 of 3
(2,922 Views)
Gregg:

Could you please tell me more about your system: what database and version are you connecting to? Also, what version of ODBC do you have on your system? What other information accompanies the GPF; there is usually a module and offset listed.

It may be easier to continue this discussion via National Instruments Email support. You can request email support from http://www.ni.com/ask

Best Regards,

Chris Wood
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,922 Views)


removed fetch command, works fine now

Gregg
0 Kudos
Message 3 of 3
(2,922 Views)