Results 1 to 2 of 2

Thread: data Report error..

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2006
    Posts
    109

    data Report error..

    Hi friends,

    i am using vb6 with ms-access2003..
    and by dataenvironemtn and datareport ,
    after i send the value to datareport ,

    it says "DataFidle.Command1.pname[my field name) not found "

    this error i got received ,
    my code is :

    Dim rsmodel As ADODB.Recordset

    Set rsmodel = New ADODB.Recordset
    Set rsmodel.ActiveConnection = gConnection

    Call SetRs(rsmodel, gConnection, "select * from Register")
    If rsmodel.RecordCount > 0 Then
    Set DataReport1.DataSource = rsmodel
    Else
    End If
    DataReport1.Show
    Set rsmodel = Nothing

    .................

    then in the dataenviornment i added comand where i conect my table then i pass the field from there to datareport..

    but i receiv ethe same error..

    Please help me..

    waiting for your valuable reply,..



    With regards,
    Mk..

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: data Report error..

    Moved to Reporting

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