Results 1 to 2 of 2

Thread: Using Image Control Accessing Access 2000 Database from VB6

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 1999
    Posts
    1

    Post

    Hi,

    I am qite new to VB database programming. I would like to know how do I have an image control in VB6 [SP3] form connected to an Access 2000 database tables's OLE[Image field, bitmaps] field using ADO code/datacontrol.

    I have another question, how to implement a RecordSource [of course, without using ADO datacontrol] which will retrieve fields from multiple tables.

    I will greately appreciate your help. Thnaks.

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    First Question:
    Add an ADO data control to your form, and bind a picture/image control to your picture field via the data control.

    Second Question:
    If your two tables are in the same database, you can perform a SQL join to join the tables together, giving one recordset. If they are in separate databases, you can build your own recordset at runtime that you can populate.

    HTH

    Tom

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