Results 1 to 2 of 2
  1. #1
    Bic is offline Novice
    Windows Vista Access 2007
    Join Date
    Feb 2010
    Posts
    1

    find value of selected field in a table

    New to Access2007. Need some direction.

    I have a form with a subform which displays different tables in the subform depending on criteria from the main form.



    What I would like to do in VBA, is get the value of a field selected in the table, similiar to the idea of listindex, column() or value in a listbox.

    Any direction is appreciated......

  2. #2
    llkhoutx is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Jan 2010
    Location
    Houston, Texas USA
    Posts
    373
    I assume that you're displaying the table in a subform datasheet. You can just copy the field, or on any field's OnClick event do something with the field value. You know the field name.

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

Similar Threads

  1. SQL - find out whether a table exists
    By yurako in forum Programming
    Replies: 2
    Last Post: 01-20-2010, 09:27 AM
  2. Replies: 9
    Last Post: 11-26-2009, 05:03 PM
  3. Find Spaces in Field
    By stottle in forum Queries
    Replies: 6
    Last Post: 08-17-2009, 02:02 AM
  4. Replies: 1
    Last Post: 07-25-2009, 05:11 PM
  5. query to find the highest value in a field
    By jhjarvie in forum Queries
    Replies: 0
    Last Post: 09-02-2008, 02:27 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