Unstatisfied forward or external decleration with copied code

Posted on 2013-06-14
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
1 Comment

Accepted Solution

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Sending a Secure fax is easy with eFax Corporate ( First, just open a new email message. In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

861 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now