*solved* Large text = Bad Hyperlink Parameters (Full Version)

All Forums >> [Web Development] >> ASP and Database



Message


lovduv -> *solved* Large text = Bad Hyperlink Parameters (10/27/2005 10:35:51)

Everything is almost working!

If you try to update one of the larger posts, on http://www.missyandross.com/editblog.asp it does not populate in the form. I know this is from trying to pass a large amount of text via a hyperlink. Is there a workaround, so that I can get the larger posts to poulate?

I can populate the smaller posts with a parameter,
<%=FP_FieldURL(fp_rs,"BlogPost")%> for BlogPost

If I remove this parameter in the hyperlink, then the forms text area is blank.


Should I change the initial value of the text area in the form to something like this:

<textarea rows="13" name="BlogPost" cols="77">=BlogPost value="<%=request.querystring("BlogPost")%>">


Also on this page
http://www.missyandross.com/editblog.asp
I changed it to have an update link and delete link

Update is working, but how would I make it delete the record?

Thanks guys,
lovduv
[:(]
Outfront is truly the best Frontpage resource I have ever used![:D]




Spooky -> RE: Large text = Bad Hyperlink Parameters (10/27/2005 20:37:31)

Like was mentioned before, if a field is large - then you are best to use just an ID to query the database and return the large field text




lovduv -> RE: Large text = Bad Hyperlink Parameters (10/28/2005 10:06:38)

Ok, so I set the intial value of my text area to this:
<%=request.querystring("BlogPost")%>

Which in the code looks like this:
<textarea rows="20" name="BlogPost" cols="80"=""><%=request.querystring("BlogPost")%></textarea></p>

But live it looks like this:
<textarea rows="20" name="BlogPost" cols="80"=""></textarea></p>
<input type=hidden name=BlogID value="291">
<p><input type="submit" value="Submit" name="B1"></p>

So I am able to pull the BlogId, but the BlogPost query is not pulling the record?
Is my query wrong?

lovduv




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.03125