Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Build errors
#1
I know this is a pretty simple question but I'm a pretty simple guy.

I am attempting to use a "trial" of IW 15.n to do a test app to evaluate the result.

I have built a simple two "form" app with the data VCL's embedded on the "UserSession" unit.

At design time when I reference a data VCL from the "main" form everything is fine.  But when I attempt to build the app  the references are not recognized by the build (compiler?) process and throw a reference error.

IE:

    With IWUserSession Do
      begin
        Query1.Close;
        Query1.SQL[0] := 'SELECT * FROM `members` ' +
        'WHERE `LastName` LIKE("' + IWEdit1.Text + '%")';
        Query1.Open;
      end;


result:

Compiling USSVI.dproj (Debug, Win32)
[dcc32 Error] Unit1.pas(34): E2003 Undeclared identifier: 'Query1'
.
.
[dcc32 Error] Unit1.pas(32): E2003 Undeclared identifier: 'IWUserSession'
...

Any hints?
Reply


Messages In This Thread
Build errors - by TexasGofer - 07-07-2020, 07:38 PM
RE: Build errors - by Jose Nilton Pace - 07-08-2020, 01:20 AM
RE: Build errors - by DanBarclay - 07-08-2020, 02:05 AM
RE: Build errors - by TexasGofer - 07-08-2020, 03:04 PM
RE: Build errors - by DanBarclay - 07-08-2020, 10:24 PM
RE: Build errors - by TexasGofer - 07-08-2020, 11:58 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)