Results 1 to 2 of 2

Thread: help ms access

  1. #1

    Default help ms access


    how to find record ha access w/o using the look up wizard? example akong key field =or_id

    pag magclick ako sa button i locate na niya ang record sa form w/ datasource.

  2. #2

    Default Re: help ms access

    simple way to do this is by creating a query. it's difficult to show that here...
    another way is by using a SELECT statement which retrieves the data you want and then changing the datasource of your form.
    something like the one below.

    Button_Click event

    Private Sub btnMyButton_Click()
    Forms!your_formname_here.RecordSource = "SELECT your_fields_here, FROM tablename where or_id = '" & Me.your_textboxname_here & "'"
    End Sub

    if you do this, the only records that will appear to yous form will be those records where or_id = the order id u typed in the textbox

  3.    Advertisement

Similar Threads

 
  1. Help with MS Access 2003
    By blackknight in forum Programming
    Replies: 7
    Last Post: 04-23-2012, 01:51 PM
  2. Help using MS Access on an inventory program
    By jinkazjinkaz in forum Programming
    Replies: 25
    Last Post: 09-11-2010, 09:37 PM
  3. Joomla using MS Access as database, pls help!
    By techguys in forum Websites & Multimedia
    Replies: 10
    Last Post: 02-11-2010, 09:43 PM
  4. Need Help making db & UI with MS Access ONLY
    By yarniwre in forum Programming
    Replies: 1
    Last Post: 10-20-2009, 12:24 PM
  5. pls help ... some basic questions of MS Access
    By yarniwre in forum Programming
    Replies: 2
    Last Post: 09-09-2009, 04:49 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
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top