Jump to content

Access database with LabVIEW (using T&M toolkit)


Recommended Posts

I am new to labview. I have a database in ms-access and using T&M student toolkit to use it in LabVIEW. All is ok but when I want to use recordset tools for moving next, first or last record, I have problem. I dont know what is the reference that I should connect in new recordset to access my database so that I can move and edit records one by one in the table. or any other solution. Thanks in advance please.

Link to comment

Hi,

Try using the Execute with Result VI from the intermediate pallete. This will return a reference to a recordset based upon a query. See the image below for an incomplete example. Also you can open (Open Front Panel) of the Insert Express VI. If you search within this VI you will find examples of how to use the intermediate layer.

With kind regards,

Arnoud de Kuijper

T&M Solutions BV

Link to comment

Hi,

Thanks for the help. I have tried this technique. But when I try to run this, it gives following error message. "Cursor Locktype is invalid, Open the recordset with a valid Cursor locktype for this operation". Also recordset count returns -1. Please guide where I am wrong?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.