Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Store image path in dbf
Message
From
15/09/2004 00:56:43
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Store image path in dbf
Miscellaneous
Thread ID:
00942247
Message ID:
00942247
Views:
88
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
Next
Reply
Map
View

Click here to load this message in the networking platform