Solved

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

Posted on 2004-08-13
18
168 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
[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
  • 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
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!

 

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

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
Controlled Assessment GCSE - desperate help needed 4 119
RESTRequest Parameter 4 77
Broadcast a message using ICS 2 49
Automatic field translation delphi 10.2 6 44
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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

738 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