Jump to content
Sign in to follow this  
Gibson

Retrieve container data (images) via ODBC?

Recommended Posts

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

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.

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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