跳至主內容

搜尋

搜尋

Printing Image With Bt 9.4

評論

6 條評論

  • Avatar
    Ian Cummings
    版主
    We do not support picutres stored in Access database. The reason is, the pictures are stored with a special header that only Microsoft knows. You might wish to try using a JPG file stored as a BLOB because there is a chance that this might work.

    Otherwise, use the database field to store the path/filename of the image (saved in the file system) in order to link to it. Or, encode the picture into base64 and store the base64 data in the database field using a text data type. The below web based base64 encoder can be used to encode your images.

    http://www.motobit.com/util/base64-decoder-encoder.asp
    0
  • Avatar
    Legacy Poster
    [quote name='Ian C - Seagull Support' timestamp='1324387683' post='1382']
    We do not support picutres stored in Access database. The reason is, the pictures are stored with a special header that only Microsoft knows. You might wish to try using a JPG file stored as a BLOB because there is a chance that this might work.

    Otherwise, use the database field to store the path/filename of the image (saved in the file system) in order to link to it. Or, encode the picture into base64 and store the base64 data in the database field using a text data type. The below web based base64 encoder can be used to encode your images.

    http://www.motobit.com/util/base64-decoder-encoder.asp
    [/quote]


    Thank you Ian C for you help.
    I will convert Picture into base64 and save in database as text field. can you please help me in passing this to BT Label

    srinivas
    0
  • Avatar
    Ian Cummings
    版主
    For your picture object choose a data sourced object, select base64 as the type and then under the "Data Source" tab select the field that will contain the encoded data.
    0
  • Avatar
    Legacy Poster
    [quote name='Ian C - Seagull Support' timestamp='1324393069' post='1384']
    For your picture object choose a data sourced object, select base64 as the type and then under the "Data Source" tab select the field that will contain the encoded data.
    [/quote]

    But i am passing this value from vb code. can i pass this data (base64) to a substring of Image on the label?

    thansk,
    srinivas
    0
  • Avatar
    Ian Cummings
    版主
    Yes, all that needs be done is that the base64 encoded data is set to the data source of the picture object. Assuming that you have already selected base64 to be the input type.
    0
  • Avatar
    Legacy Poster
    [quote name='Ian C - Seagull Support' timestamp='1324398112' post='1386']
    Yes, all that needs be done is that the base64 encoded data is set to the data source of the picture object. Assuming that you have already selected base64 to be the input type.
    [/quote]
    thank you...
    i will try this
    0

登入寫評論。