Dear Sir,
On form I have following four controls
Image1
text1
command1
command2
and there is a table named "table1" with following field
sno n(2)
path c(40)
To get picture, I have following codes in command1
thisform.image1.picture=getpict()
thisform.text1.value=thisform.image1.picture
To store picture's path in table1, I have following codes in command2
Select table1
calculate max(sno) to abc
abc=abc+1
append blnak
replace sno with abc
replace path with thisform.image1.picture
and path is stored in table1 as
d:\ginning\bitmaps\bci.bmp
When I call any picture it appears correctly.
Now the problem details
When I change the name of main folder it shows nothing, for example the actual folder name is d:\ginning. When I rename it it creates problem due to different path in table1.
May I should store path name without main folder name, if yes then how.
Is there any soloution of this problem.
Please help