open database student_db
USE studentinfo
SELECT studentinfo
report form studentinfo_bb for studentinfo.学号=ALLTRIM(thisform.text1.value) preview
close database
---------------------
另外,你的图片是放在某文件夹的吧,而表中的照片是不是只保存图片路径、文件名?
你的表单属性改一下 Desktop=.f.(要不看不见预览报表)