Autodesk Inventor
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
SQL search from Ilogic
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
336 Views, 3 Replies
01-14-2010 06:06 AM
Hi,
Is it possible to make a SQL database search and write from an Ilogic rule?
/Lars
Is it possible to make a SQL database search and write from an Ilogic rule?
/Lars
Re: SQL search from Ilogic
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-14-2010 07:49 PM in reply to:
srpack
I would think that this would be possible since ILogic has the ability to run straight vb code. It does look like something that I would do when I could create a DLL to do the work for me and return back to ILogic the required info.
Re: SQL search from Ilogic
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-15-2010 03:43 AM in reply to:
srpack
Yes, this is exactly right. It's reasonably straightforward to incorporate the use of ADO.NET into your rules to add database access. We haven't yet delivered samples on this, but others in the community have done this, and I'm sure could provide some examples of what they've done.
Jeff
Jeff
Re: SQL search from Ilogic
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-09-2010 02:19 AM in reply to:
srpack
I am also trying to read data from an SQL file. I have written a DLL which is accessed from iLogic using the AddReference command When I try to use the rule I get the error "The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine" when I call the read SQL function in the DLL.
The code was originally written in the ipart in VBA and worked without any problems.
Can anyone help, or give an example of what I should do? Is there something I should be registering?
Alistair

