?
Solved

Undeclared Identifier - DBNavigator

Posted on 2003-03-18
2
Medium Priority
?
403 Views
Last Modified: 2010-04-04
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

frmManager.DBNavigator1.VisibleButtons:=[nbFirst,nbPrior,nbNext,nbLast,nbInsert,nbPost];

end;
0
Comment
Question by:Rob23
[X]
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
2 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 300 total points
ID: 8158860
? works for me -> which delphi version ?

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

meikl ;-)
0
 

Author Comment

by:Rob23
ID: 8158983
Adding the DBCtrls to the USES clause solved the problem.  I really hate manually adding to the USES clause - it should be automated.
0

Featured Post

Technology Partners: 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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month13 days, 4 hours left to enroll

777 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