Results 1 to 4 of 4

Thread: !!! Reterive on the basis of primary key !!! Urgent

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2000
    Posts
    73

    !!! Reterive on the basis of primary key !!! Urgent

    Hi ,
    I have a problem, got a primary key by which i have to reterive the other values i.e i put the primary key no it should reterive parent and child values on the form.

    please guide me with suggestion.

    Wrgds
    Ganesh.K

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    I found your question very confusing. Maybe a lot more info would help. Are you talking about an SQL query? Are you talking about form properties? What are you trying to do, in detail...

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Nov 2000
    Posts
    73
    Hi,
    the project is in access i'm using oledbadapter,
    I created SQL Query with parameters added parameters and set the value to it first i had problem how to execute it. some how found that using oledbadapter.fill(Dataset) it works i'm able to retrive first number what ever i specify but when put other number for reterival it gives me primary key ,null, violation, etc...

    Hope this was quite explainatory..
    Could u please help me how to go about ...

    Wrgds
    Ganesh.K

  4. #4
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267
    try an OleDbCommand an use .ExecuteReader.... http://www.vbforums.com/showthread.p...hreadid=197229

    just set the commadtext to the stored proc and set your param
    Magiaus

    If I helped give me some points.

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