Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Picture in grid
Message
From
09/04/2007 02:41:25
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Picture in grid
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01213361
Message ID:
01213361
Views:
53
Dear Experts

I want to show pictures in grid. The picture path is stored in table field as
thisform.pageframe1.page5.grid3.recordsource=""
select path1;
	from cheqs;
	where bank= (thisform.pageframe1.page5.text6.value);
	into cursor acc2
	
&& path1 is picture path as : abc.bmp, xyz.jpg etc

lni = 0
lnmax =  _tally
select acc2
scan
	pa=path1
	lni = m.lni + 1
	if m.lni > m.lnmax
		exit
	endif
	ax=(sys(5)) + addbs(sys(2003)) + [cheque\] + allt(pa)

&&here I want to show all pictures in thisform.grid1
thisform.grid1.........


endscan
thisform.pageframe1.page5.grid3.refresh
Next
Reply
Map
View

Click here to load this message in the networking platform