Jump to content
Sign in to follow this  

Retrieve container data (images) via ODBC?

Recommended Posts


I have a simple filemaker database I have created and it has a text field and an image container field. I have managed to display the text field on an ASP page but I can't get the container field (image) to display. I get this in the images place:


So is this possible? If so if anyone could give me an example code or something as I'm not fantastic at writing it but I'm good at taking it apart and learning what each part does :)

I hope you can help :)

Thanks alot


P.S I have also read around the forums about not using container fields (you should upload them to the server etc) but I would still really like to know how this works lol!

Edited by Guest

Share this post

Link to post
Share on other sites

Though I do not recommend it, you can use 'GetAs' function to get image data from a container field.

SELECT GetAs(your_container_field, 'JPEG') FROM your_table

Note that...

- You have to know the file type of the image.

- You cannot put an image data into a container field.

Please read the developer's guide for detail.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

By using this site, you agree to our Terms of Use.