Solved

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

Posted on 2004-08-13
18
163 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
ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 

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
 

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

803 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