We help IT Professionals succeed at work.

Databases...

Yevgen
Yevgen asked
on
Medium Priority
141 Views
Last Modified: 2010-04-06
I have two problems here:

One, i just cant figure out how to put an image inside a table. I can define the field but i dont know how to load the image and save it in to the table.

Two, when i run my program on a computer where is no Alias to my Database the program can work properly, how do i solve this problem...

Thanks....
    Yevgeni...
Comment
Watch Question

See this example

    Table1.Append;
    Table1Imagen.LoadFromfile('c:\imagen.jpg');
    Table1.Post;

2- You must install the BDE in this computer and create the Alias.

If you change the directory in this computer the alias must point to this directory.

Bye.

CERTIFIED EXPERT
Top Expert 2004

Commented:
what database?
Commented:
Hi ,

Second question maybe use the application put on the t section for BDE for exp
// for paradox (Tsession Data Access )
Session1.AddStandardAlias('ALIAS_NAME', 'c:\data', 'paradox');

// For Dbase
Session1.AddStandardAlias('ALIAS_NAME', 'c:\data', 'dbase');

{
Next the save confirmation
}
Session1.SaveConfigFile;

// if you delete the Alias
Session.DeleteAlias('ALIAS_NAME
CERTIFIED EXPERT
Top Expert 2004

Commented:
? and for others than dbase or paradox?

btw.
for these both a directory entry as
databasename works also without any alias

meikl ;-)

Explore More ContentExplore courses, solutions, and other research materials related to this topic.