Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Browse pictures in my form
Message
From
14/12/2004 07:38:54
 
 
To
14/12/2004 06:53:11
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00969036
Message ID:
00969042
Views:
9
>hi all,
>
>i insert my picture.jpg via my scanner as 1.jpg.
>
>if i create table with fields as number ,name...
>
> how i can see mypicture when i insert at myquery form via textbox number 1.
>
>ex.. if mynumber is 1 at myform when i inser at textbox 1 ,i get my name ,age ,address.... and mypicture,
>
>thanks alot.
>m.qasem


In your file create a field which will hold the path to each persons picture file. eg: field name Picture which can contain things like "C:\MyPictures\1.jpg".

On your form add an Image object.

Set the Image object's Picture property to value of the field in your table which holds the path to the picture for the current record.

When you update the other form fields you also update the Image.Picture property.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Reply
Map
View

Click here to load this message in the networking platform