Solved

database record to form caption

Posted on 2003-11-12
5
208 Views
Last Modified: 2010-04-05
How do you pass a record in a table (ADO) at runtime to form caption?
Example:
I have in my table only one record:Name (say name is senad)
So in runtime I have my form displaying caption "senad"
How is the best way to do it?
0
Comment
Question by:senad
  • 3
  • 2
5 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 125 total points
Comment Utility
caption := dataset.FieldByName('YourFieldNameHere').AsString;

use this in the afterpost and afterscroll event

meikl ;-)
0
 
LVL 27

Expert Comment

by:kretzschmar
Comment Utility
btw.
hi senad,
long time not seen here.
how are you?

meikl ;-)
0
 
LVL 22

Author Comment

by:senad
Comment Utility
Hi Michael,
I try and stay away from this bluish nightmare as much as possible.
Five minutes looking into this "new look" is similar to snow blindness,ha,ha,ha...
Horrible !
And to think they have actually paid this **** !
0
 
LVL 22

Author Comment

by:senad
Comment Utility
Forgot to ask you...what do you think of this "new look" ?
Honest answer please :-))))
0
 
LVL 27

Expert Comment

by:kretzschmar
Comment Utility
firsttime i was very annoyed about the new look,
but as longer you use it ...

the oldlook was better and is already available:

http://oldlook.experts-exchange.com/Programming/Programming_Languages/Delphi

>I try and stay away from this bluish nightmare as much as possible.
what for a nightmare?

meikl ;-)

0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

772 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

9 Experts available now in Live!

Get 1:1 Help Now