Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

bBegley, thanks for the tip. I s 1

Status
Not open for further replies.

yomyom

Programmer
Dec 23, 2002
119
GB
bBegley,
thanks for the tip.
I solved it by entering a file refrence in the image field of the paradox database e.g c:\yomi.bmp
then when the user presses any button on the navigator, the dbimage.picture.loadfromfile loads the image based on the field[x].asstring refrence. like thus :

procedure TForm1.DBNavigator1Click(Sender: TObject; Button: TNavigateBtn);
begin
label1.caption := table1.fields[7].AsString;
DBImage1.Picture.LoadFromFile(table1.fields[7].AsString);
end;

Thanks for the tip.
 
yomyom,

Thanks for posting a follow-up, though it's usually best to post these to the thread where you received the help. This helps keep continuity over time, as someone who searches later may not see the new thread.

Also, don't forget that each post has a link you can click to flag it as helpful. This gives the original poster a star and also tells your other community members what you find most helpful in replies. (Note: you need Javascript enabled to mark a post helpful on this site.)

(I've always found the little stars to be nice little ego boosts when I've gotten them and I imagine the same is true for others.)

Cheers!

-- Lance
 
The thread yomyom is referring to is: thread102-432145

Yomyom,

Just another couple of points to add to Lance's - every time you start a new discussion you need to click 'Start New Thread' (found near the top of the forum page) with a subject that is meaningful, accurate and as specific as possible.

For example, using your last post, I would have clicked 'Start New Thread', entered a subject title such as 'Images and Database Desktop' and included the body of the question. I would then have clicked 'Start New Thread' again, entered another title such as 'Logging and controlling phone calls' and entered the second question there.

It's always best to separate unrelated questions into different threads so that others may see the gist of your question just by looking at the subject title. Clive [infinity]

Don't forget what Christmas is all about: not [santa2] but Jesus!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top