• enter new data by the search result (2000)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » enter new data by the search result (2000)

    Author
    Topic
    #435294

    Hi,

    In my attached database, I try to enter new data by search result. User start search CD information first by using CD index, Date or Userfulness, then user double click the CD that they need. Another form (frmCD) pops up show current CD’s No, Date and usefulness with a subform (frmCDdetail) to let user enter Song and time. Each CD have many songs. I put the code on Dbl Click property of List BOx 30 of frmCDIndex, and I got the following error message:

    Compile error: Variable not defined.

    I really appreciate all your helps!

    Regards

    Viewing 0 reply threads
    Author
    Replies
    • #1028395

      Change Set rs = frmCD.Recordset.Clone to

      Set rs = Forms!frmCD.Recordset.Clone

      • #1028433

        Hi,

        Thanks. It’s works now. But how can I set frmCDDetail have new record window instead of shows old record?

        Regards

        • #1028437

          You can set the DataEntry property of frmCDDetail (in the Data tab of the Properties window) to Yes.

    Viewing 0 reply threads
    Reply To: enter new data by the search result (2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: