Results 1 to 2 of 2
  1. #1
    FuzzyPanda is offline Novice
    Windows 8 Access 2013
    Join Date
    Oct 2013
    Posts
    1

    Reading and matching Data using C#

    Hello

    For the past few months i have been making a testing kit for one of the products at our company which requires the programming of a micro-controller. The actual tester itself is working correctly, but my problem is interfacing with a set of values from a database in order to correctly set the tester.

    This is what id like to do.

    Read a value, say "resistance"

    send the value to the tester

    the using the value that returns from the tester match it up with a second set of data, say "current"

    if the current matches move on to the next resistance.



    The core program for sending and receiving values fro the controller is working but requires the user to input the "resistance" value then manually read the current value.

    I was wondering what was the best way to achieve this.

    The core program is written in C#

    should i write something in VB inside the access database and have it send it to the C# program. If so ow would i send the value from the VB script to the C# program and visa versa

    Thanks

    Adam

  2. #2
    Dal Jeanis is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742
    Since you know C# well, you should probably do it the other way around. Have the C# program treat Access as an external database (ADO, for example).

    http://www.java2s.com/Tutorial/CShar...ssdatabase.htm
    http://support.microsoft.com/kb/317114

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Query to merge matching data
    By kmullins76 in forum Queries
    Replies: 1
    Last Post: 09-05-2013, 02:58 PM
  2. Using search field to find matching data
    By rthakral in forum Access
    Replies: 2
    Last Post: 08-19-2013, 12:18 PM
  3. Find matching data between 2 queries
    By michael.p.ryan1 in forum Access
    Replies: 3
    Last Post: 08-24-2012, 05:51 PM
  4. Data not matching with times
    By dumbee188 in forum Access
    Replies: 0
    Last Post: 07-08-2010, 01:54 PM
  5. Display Non Matching Data
    By k1fox in forum Access
    Replies: 1
    Last Post: 04-03-2009, 07:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums