Results 1 to 3 of 3

Thread: need urgent assistance

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2010
    Posts
    965

    need urgent assistance

    hi, suppose i have 400 entries in my table right, every record has 3 attributes, i.e.

    S.no, Product Name, Product Company

    now these 400 entries belongs to different companies about 20 apporximately. now i want that when i enter retrieve any 4 entries in whcih 2 belongs to 1 compnay and 3 belongs to other company, so it shows me data separately, mean to say that

    colpol 123 compnay
    panadol 123 compnay


    piriton 44 compnay
    incidal 44 company
    broxol 44 compnay

    how do i do it?

  2. #2
    Master Of Orion ForumAccount's Avatar
    Join Date
    Jan 2009
    Location
    Canada
    Posts
    2,802

    Re: need urgent assistance

    From reading this my understanding is that you want to select 4 random records from a DataTable. You then proceed to show 5 in your example. You will probably need to explain further.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2010
    Posts
    965

    Re: need urgent assistance

    Quote Originally Posted by ForumAccount View Post
    From reading this my understanding is that you want to select 4 random records from a DataTable. You then proceed to show 5 in your example. You will probably need to explain further.
    for detail understanding you please check this post, which i have posted earlier but got no answer?

    http://www.vbforums.com/showthread.php?t=648387

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