Results 1 to 2 of 2

Thread: ...Big Dilema

  1. #1

    Thread Starter
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    What is the code in the dblist click event.
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  2. #2
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    here's what i got..

    ***************************************************
    Private Sub DataList1_Click()
    txtFields(1).Text = DataList1.Text
    txtFields(3).Text = adInvoices.Recordset!ImagePath
    ImgEdit1.Image = txtFields(3).Text
    ImgEdit1.Display
    ImgEdit1.Refresh
    Exit Sub

    End Sub
    ****************************************************
    the rest of my code

    Private Sub cmdNext_Click()
    On Error GoTo HandleErrors:
    ImgEdit1.Zoom = 25
    adInvoices.Recordset.MoveNext
    ImgEdit1.Image = txtFields(3).Text
    ImgEdit1.Display
    ImgEdit1.Refresh
    Exit Sub

    HandleErrors:

    ImgEdit1.DisplayBlankImage 1400, 1140, 600, 400, 1
    Label1.Visible = True
    'Adodc1.Recordset.Delete
    adInvoices.Recordset.MoveNext
    End Sub

    Private Sub cmdPrior_Click()
    On Error GoTo HandleErrors:
    ImgEdit1.Zoom = 25
    adInvoices.Recordset.MovePrevious
    ImgEdit1.Image = txtFields(3).Text
    ImgEdit1.Display
    ImgEdit1.Refresh
    Exit Sub

    HandleErrors:

    ImgEdit1.DisplayBlankImage 1400, 1140, 600, 400, 1
    Label1.Visible = True
    'Adodc1.Recordset.Delete
    adInvoices.Recordset.MoveNext
    End Sub

    Private Sub Form_Load()
    adInvoices.Recordset.MoveFirst
    ImgEdit1.Image = txtFields(3).Text
    ImgEdit1.Display
    fraInvoice.Caption = "Invoice Numbers: " & adInvoices.Recordset.RecordCount & " Records found"
    End Sub

    Private Sub ImgEdit1_SelectionRectDrawn(ByVal Left As Long, ByVal Top As Long, ByVal Width As Long, ByVal Height As Long)
    ImgEdit1.ZoomToSelection
    End Sub



    10-30-2000 12:12 PM

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