Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 429
  • Last Modified:

Undeclared Identifier - DBNavigator

I am trying to customize the DBNavigator per user level.  I suspect my problem is related to the fact that I am trying to change the options on DBNavigator within the 'Log-in' form and the DBNavigator component itself resides on the 'Manager' form.  

Nevertheless, I cannot find an answer to my problem and I am soooo tired of looking at the 'undeclared identifier' error message.  

The code in the LOG-IN Form is as follows:
if ADRMain.edUserLevel.text='Manager' then begin


1 Solution
? works for me -> which delphi version ?

maybe you should add dbctrls into the uses-clause
of the form/unit where you want assign

meikl ;-)
Rob23Author Commented:
Adding the DBCtrls to the USES clause solved the problem.  I really hate manually adding to the USES clause - it should be automated.

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now