キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

AddNew ADO Help

Hi Ladies and Gentleman,

 

I've been playing around using Labview 2009 and ADO objects for a upcoming project I will be working on. I have a test database set up to where I want to add records to my test database, just to see how the flow works. I have successfully referenced the database and opened the recordset, but when I get to the AddNew Method, I'm stuck. I'm not sure what to wire to the FieldList or Values sections.

 

I've read the ADO 2.5 documentation, but I'm still lost.

 

Any info is greatly appreciated.

0 件の賞賛
メッセージ1/7
4,808件の閲覧回数

Hi DadAzzS10

 

I don't know if this is the same definition you have in the ADO 2.5 documentation, but I find this pretty clear. Please post back if anything is still unclear.

 

Best Regards

 

David

NISW

0 件の賞賛
メッセージ2/7
4,794件の閲覧回数

Whenever I have an ADO related issue, I start at devguru.com

 

See this link:

http://www.devguru.com/technologies/ado/quickref/ado_index.html

 

 

 

0 件の賞賛
メッセージ3/7
4,785件の閲覧回数

Phillip,

 

Thanks for the link, I'll have to save that site.

 

I'm thinking that a string array is the best way to go, since I have two columns with two values, but when I set up my 1D array for each array, I can't enter any information. It appers grayed out.

0 件の賞賛
メッセージ4/7
4,765件の閲覧回数

OK, got a little farther, but I still can't understand why I'm getting a error. It looks correct to me.

 

Error: -2146825023 - Item cannot be found in the collection corresponding to the requested name or ordinal.

すべてをダウンロード
0 件の賞賛
メッセージ5/7
4,759件の閲覧回数

If you do not want to use the NI Database Connectivity Toolkit (ADO based) I would suggest you look at the free LabSQL (also ADO based). It sounds like you might be trying to reinvent the wheel.

0 件の賞賛
メッセージ6/7
4,746件の閲覧回数

Hi again

 

It's like Dennis says, using the toolkit would save you a lot of time and effort. It's the route I would recommend.

 

The error you are getting is documented in this KB.

 

Best Regards

 

David

メッセージ7/7
4,735件の閲覧回数