Unstatisfied forward or external decleration with copied code

Posted on 2013-06-14
Medium Priority
Last Modified: 2013-06-14
I copied this snippet from a sample online and I get this error.  Running their basic sample app it runs fine.  Any ideas?

procedure UpdateRecordPictureByFileName(ADataController: TcxCustomDataController;
  AFileName: string; ARecordIndex, APictureColumnIndex: Integer);
  AValue: string;
  APicture: TPicture;
  AFileName := ExtractFilePath(Application.ExeName) + 'Images\' +
             AFileName + '.jpg';
  if FileExists(aFileName) then
    APicture := TPicture.Create;
      SavePicture(APicture, AValue);
    AValue := '';
  ADataController.Values[ARecordIndex, APictureColumnIndex] := AValue;

Open in new window

Question by:Bianca
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment

Accepted Solution

Bianca earned 0 total points
ID: 39248547
Silly me. I missed the form name in the declaration.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses
Course of the Month8 days, 14 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question