Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to open fields in data-table which contains objects 2

Status
Not open for further replies.

kbklaus

Technical User
Mar 30, 2007
9
DE
I want to implement a table containing two fields
Description (character)
Contents (object).

Of course when I browse and click on each object-field, I can see the contents.
However I forgot how this can be done bei a click-event-button.
The user should click on a button in a form and each time when
he clicks again, the next record should show the contents of its object field (pictures).
How has that to be coded.

Thanks
Klaus
 
It's generally considered a poor idea to store objects within a VFP table. General fields (which are 'sort-of' designed to this) are notoriously difficult to manage and even using binary memo fields causes problems with 'bloating' on the .fpt files (this is where they grow rapidly as you add and modify records).

If you are just looking at images, have a look at this site


They have a trial version, and it has bags of sample code and forms to help you with your development.

Good luck

Regards

Griff
Keep [Smile]ing
 
If it’s only pictures, and not sensitive material, why not create a folder (if multiuser, on a server) and put all your pictures in their own format in it.
Put an image control on your form and when a button is clicked display the picture by changing the picture property of the image control…
Better still put a list box on the form, display a descriptive name for the picture and let the user select which picture they want to view by double clicking…
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top