Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8660011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:08:57+00:00 2026-06-12T16:08:57+00:00

I am taking my first stumbling steps into DB aware controls (any good tutorials?).

  • 0

I am taking my first stumbling steps into DB aware controls (any good tutorials?).

I have a MySql table with 6 columns and have managed to load it into a TDbGrid.

One of the columns however is an index into another table. It is a bar code and, rather than display that, I would like to display the product name associated with it.

How do I do that?

(and can I hide the “gutter” (?) down the left whcih shows the current row?)

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T16:08:58+00:00Added an answer on June 12, 2026 at 4:08 pm

    You should always perform a join from the SQL side, it’s much easier then doing it programaticaly

    Such as:

    SELECT mytable.id, mytable.column1, another_table.barcode
    FROM mytable
    JOIN another_table ON another_table.id = mytable.barcode_id
    

    To remove gutter you need to uncheck the DBGrid property dgIndicator in Options.

    As for “DB-Aware controls” you should try delphi help.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am taking my first steps in C++ having a good background in Java.
I'm taking my first steps in PhoneGap with Android (How come you have to
I'm taking my first baby steps into consuming web services. Here's my situation: I'm
I am taking my first steps with Apache Wicket and ran into the following
I am taking my first stumbling steps in the Objective-C world together with a
I'm taking my first steps in python programming, I have a class named node
I'm taking my first steps in Symfony2 entity relations. I have an entity installation,
I'm just taking my first steps with Azure and the first thing I see
I am taking my first steps with Node.js and I was wondering whether there
First of all thanks for taking the time to look into this. I store

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.