07-07-2020, 07:38 PM
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?
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?