Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 3 of 3 total |
How to capture and display the structure of a table ? |
Wed, Aug 7 2013 5:07 PM | Permanent Link |
kamran | Hi
I need to display the structure of a table by reading its structure How can this be achieved and displayed say in a say a stringlist or listbox I have tried the documentation but it is not so easy / obvious what i need to do to achieve the result. Kind regards Kamran |
Wed, Aug 7 2013 9:33 PM | Permanent Link |
Raul Team Elevate | See my answer to your other post.
For structure you can either use fielddefs (better way) or as long as you have a single record just use the same logic as i did in other post. Simply loop once thru fields and look for myDS.Fields[I].DisplayName, myDs.Fields[I].DataType, etc). Looping thru fielddefs is very similar as well. Raul On 8/7/2013 5:07 PM, kamran wrote: > Hi > > I need to display the structure of a table by reading its structure > > How can this be achieved and displayed say in a say a stringlist or listbox > I have tried the documentation but it is not so easy / obvious what i need to do to achieve the result. > > > Kind regards > > > Kamran > |
Thu, Aug 8 2013 9:14 AM | Permanent Link |
kamran | Thanks Raul - that's a great help
Kamran Raul wrote: See my answer to your other post. For structure you can either use fielddefs (better way) or as long as you have a single record just use the same logic as i did in other post. Simply loop once thru fields and look for myDS.Fields[I].DisplayName, myDs.Fields[I].DataType, etc). Looping thru fielddefs is very similar as well. Raul On 8/7/2013 5:07 PM, kamran wrote: > Hi > > I need to display the structure of a table by reading its structure > > How can this be achieved and displayed say in a say a stringlist or listbox > I have tried the documentation but it is not so easy / obvious what i need to do to achieve the result. > > > Kind regards > > > Kamran > |
This web page was last updated on Tuesday, September 17, 2024 at 04:19 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |