Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Gen type field
Message
From
07/12/2006 05:51:30
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
07/12/2006 05:14:04
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01175521
Message ID:
01175526
Views:
9
Zaheed,

I wood recommend to store the path (or more sophisticated: copy the picture to a location bound to your data and link to that, use relative paths, then its closer to General without gerals problems.)

a general field may be altered using APPEND GENERAL like
lcPicture = GETPICT() &&dcAuftrag_Click_Ca1
APPEND GENERAL generalField FROM (lcPicture)
Note that a general field can not be updated via views. The negative on using paths strait away is that reports will not center imagtes that are bound to filenames. (IOW General fields will may centered.).

HTH
Agnes
>Hi,
>
>I've created a Gen type field to hold photographs. In Foxpro I can edit and insert object i.e a photograph and set the control source of the olebouncontrol1 to the Gen type field. In this way I can view the photographs to the records.
>
>My question is this. Is there a way I can allow users to insert the object(photo)to the Gen type field.
>
>The alternative thing is to create a character field and allow users to save the path to these fields and then run these to load up the photograph to each record. Bu thats not what I want.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform