Solved

How can  I show, in a DBGrid, the name, fields and fields properties of my DATABASE?

Posted on 2004-08-13
18
161 Views
Last Modified: 2010-04-05
Hello folks,

Any of you imagine how can i show, in a DBGrid (or in other object) the:
1) Name of my database tables;
2) The fields of a selected table;
3) The fields properties of a selected table.

More clearly: first i need show the name of my tables (for example, table A, table B and table C).
After, if the user click in a TABLE NAME (for example, table A), the DBGrid shows that table fields and the properties of it field.

I will be very glad if anyone could solve this question.

Best Regards.
0
Comment
Question by:joelsilva
  • 9
  • 9
18 Comments
 
LVL 12

Expert Comment

by:esoftbg
ID: 11798632
> Any of you imagine how can i show, in a DBGrid (or in other object) the:
> 1) Name of my database tables;
> 2) The fields of a selected table;
> 3) The fields properties of a selected table.

I know how to show in a DBGrid The fields and values of a table:
Just put into the DBGrid's property DataSource a DataSource name to the Table or Query which will connect to desired Table into database. After activation of the Table or Query, you will see fields and values of a table by DBGrid ....
0
 

Author Comment

by:joelsilva
ID: 11798636
Thx. for your comments,

Ok with the FIELDS, but i didn´t want to see the FIELD´s VALUES but the FIELD´s PROPERTIES (for example, VARCHAR, AUTOINC, etc.)
0
 
LVL 12

Expert Comment

by:esoftbg
ID: 11798687
What of kind is your database ?
0
 

Author Comment

by:joelsilva
ID: 11798694
Microsoft Access and Firebird 1.5 (i need implement that in these two databases).
0
 
LVL 12

Expert Comment

by:esoftbg
ID: 11798712
It is possible with Firebird database.... (and may be with MS Access), but I know the way about Firebird
0
 

Author Comment

by:joelsilva
ID: 11798735
Ok... I will be very glad if you show me how to implement that with Firebird!
0
 
LVL 12

Expert Comment

by:esoftbg
ID: 11798740
Would you provide me your database, or it is enough to make an example with my database ?
0
 

Author Comment

by:joelsilva
ID: 11798752
Feel free to do it with your own database (there is no difference for me). I think that i will understand your example (if you think not, tell me pls.)
0
 
LVL 12

Expert Comment

by:esoftbg
ID: 11798758
Do you need an example, or just explanation ?
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:joelsilva
ID: 11798777
Could be a example.
0
 
LVL 12

Expert Comment

by:esoftbg
ID: 11798782
Ok. I am starting to develop it with my database....
0
 

Author Comment

by:joelsilva
ID: 11798784
Thank you very much friend!!!!!!
0
 
LVL 12

Expert Comment

by:esoftbg
ID: 11799161
Please give me an e-mail address to provide you the successful example
0
 

Author Comment

by:joelsilva
ID: 11800207
Oh man... Thank you very much again... You could send to mack@cordeirorodrigues.com.br o joel@cordeirorodrigues.com.br

:)
0
 
LVL 12

Accepted Solution

by:
esoftbg earned 25 total points
ID: 11800352
I was sleep an hour....
I just sent a Q_21093547.zip file attached into an e-mail to mack@cordeirorodrigues.com.br
0
 

Author Comment

by:joelsilva
ID: 11800361
Man, i dont have words to tell you!!! Accept my THANX...

It´s exactly what i need to implement.

Best regards... (I will send you an e-mail.)
0
 
LVL 12

Expert Comment

by:esoftbg
ID: 11800388
joelsilva,
you are welcome !
Glad to help you !
0
 

Author Comment

by:joelsilva
ID: 11800396
Thank you man!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

759 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

24 Experts available now in Live!

Get 1:1 Help Now