logo

Response

« Return to the main article

You are viewing this page out of context. To see it in the context it is intended please click here.

About This Page

Reply posted by K Ford on Tue 15 Jul 2003 in response to Controlling the Size of Uploaded Files

One other issue. Slightly related

First, I want to thank you Jake for putting together one heck of a site. I've
gotten a lot of ideas from this site and it has helped me greatly.


I figured out my problem (from previous reply) was that my $$Return was
computed for display. I changed it to computed and it is working fine.


I have one other thing I can't figure out, though. When I set the $$Return
field and the browser reloads (either telling the user the upload failed or
succeeded), I'd like to include a named anchor in the URL so it will go down to
where my file upload table is (way down in the form).


I tried to add that to the webQuerySave agent (from your example DB) and it did
not work.


I did this (where #namedLink existed on the form)...


Call doc.ReplaceItemValue("$$Return", "[/" & dbWebPath & "/0/" &
doc.UniversalID + "?EditDocument&FileTooLarge=True#namedLink]")


When the document actually reloaded, the #namedLink was NOT at the end of the
URL. Any thought's or ideas on this one?


Thanks again,


K Ford