Results 1 to 2 of 2

Thread: Image Control of Data Report Designer

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2004
    Posts
    1

    Question Image Control of Data Report Designer

    Image Control of Data Report Designer (RptImage) at design time get picture correctly, but when I try to apply picture at run time using function LoadPicture I get error 438: "Object doesn't support this property or method". The syntax I use is:
    Report_Name.sections("section_name").controls("RptImage_name").picture=LoadPicture("Graphic_file_pat h"). How can I salve this problem? Thank everybody for advance.

  2. #2
    Hyperactive Member yousufkhan's Avatar
    Join Date
    Jan 2002
    Location
    India
    Posts
    492

    Re: Image Control of Data Report Designer

    try this way

    with rpt
    Set .Sections("section2").Controls("image3").Picture = LoadPicture("c:\picture1.jpg")



    set .sections("section_name").controls("RptImage_name").picture=LoadPicture("Graphic_file_pat h")

    end with

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