Jump to content

Retrieve container data (images) via ODBC?


This topic is 6193 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Hi,

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:

??Aa??

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

Joe

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
Link to comment
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.

http://www.filemaker.com/support/product/documentation.html

Link to comment
Share on other sites

This topic is 6193 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

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