Results 1 to 2 of 2

Thread: Search Record

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Pilipinas
    Posts
    441

    Search Record

    In my Project, I can already navigate records.
    ‘First Record
    Me.BindingContext(DataSet11, "Customer").Position = 0
    ‘Next Record
    Me.BindingContext(DataSet11, "Customer").Position = (Me.BindingContext(DataSet11, "Customer").Position + 1)

    The only problem now is I cannot search a record. Like for example I am searching a CustomerNo in my table Customer. The value I’m search is 016.
    Kindly help me please?

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Try something like this:
    VB Code:
    1. dim results() as datarow=Dataset11.Tables("Customer").Select("CustomerNo=1")
    2. 'now results is an array of datarows that matches the filter

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width