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
|
|
|
 |
|