Link to home
Start Free TrialLog in
Avatar of Yevgen
Yevgen

asked on

Databases...

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...
Avatar of marcoszorrilla
marcoszorrilla

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.

Avatar of kretzschmar
what database?
ASKER CERTIFIED SOLUTION
Avatar of KemalG
KemalG

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
? and for others than dbase or paradox?

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

meikl ;-)