CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Display text files in CC field

Print topic Send  topic

Author Message
tpcolson
Posted: 02/17/2002, 6:48 PM

I'm trying to do something similar to the "show image" feature in the
empldir example...where instead of showing the image a field, I'd like to
display the contents of a text file; like the example, instead of x,y,and z.
jpg in a directory, I'm storing the filenames x,y,and z. txt in the data
base...now here's what I've done so far, and it's not working...


flddetails="<src=""text_files/" & flddetails & """>"

Or is this just not supported by CC?
Alex Alexapolsky
Posted: 02/18/2002, 2:38 AM

You need to load this file from script , not by tag on client side.
Load it into CC field variable (in Before Show event), e.g.
fldtext = get_file(location);
tpcolson
Posted: 02/18/2002, 7:56 AM

Alex?
What would the syntax of that be? flddetails=get_file(images/emps/)?
Steven
Posted: 02/18/2002, 10:48 AM

Maybe i have read what your trying to do wrong,

but it seems like you just need to do an

include("text_files/filename.txt");


Steven

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.