Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
create table temp (name C(10), piccy G)
insert into temp (name) Values ("Fred Smith")
cFile=getfile()
&& Choose a picture. I think FPW2.6 will handle
&& BMPs & TIFs fine but not JPG.
append general piccy from (cFile)
REPLACE MyTable.FileName WITH "C:\MyApp\Pictures\Employee1.BMP"
select product
go top
do while ! eof()
prd=product.prdcat
if file('d:\avigdor\&prd..bmp')
append general picture from &prd..bmp
endif
skip 1
enddo
select product
go top
scan
prd=product.prdcat
[COLOR=blue]if file('d:\avigdor\' + alltrim(prd) + '.bmp')
append general picture from ('d:\avigdor\' + alltrim(prd) + '.bmp')[/color]
endif
endscan