|
Stuart at Cherry -> RE: Format of ' memo' field in access...? (12/9/2002 11:41:51)
|
Hi, thanks for sticking with me on this. I think we' re so close to cracking it. The only place it doesn' t show is in the textarea of the form I use to update my vacancy details. When I' m in that form, if I go to the " S1" textarea and put in breaks, I can see them, I can submit them back to the database using the " UPDATE" results " SET" SQL statement and they certainly go to the database. I know this because: If I check in the raw access DB I can see the break and; If I use the " <%=Replace(FP_FieldVal(fp_rs," SI" ),chr(10)," <br>" )%> string (you recommended earlier in this thread) in the DRW that shows the public user of my site the vacancies, then the break is apparent. So I' m not having a problem getting the break into the DB. Nor am I normally having a problem getting the bread out of the DB and onto the page. The only place I have a problem is when I do this: 1. View a vacancy in the admin section of my site. This uses a DRW (spooky dieted and with the above string to show the break. AT THIS POINT I CAN STILL SEE THE BREAK. 2. Use the hyperlink at the bottom of the page " click here to amend this vacancy" which uses the following hyperlink... <a href=" amend.asp?ID=<%=FP_FieldLink(fp_rs," ID" )%>&title=<%=FP_FieldLink(fp_rs," title" )%>&Sector=<%=FP_FieldLink(fp_rs," Sector" )%>&type=<%=FP_FieldLink(fp_rs," type" )%>&location=<%=FP_FieldLink(fp_rs," location" )%>&salary=<%=FP_FieldLink(fp_rs," salary" )%>&salaryrange=<%=FP_FieldLink(fp_rs," salaryrange" )%>&date=<%=FP_FieldLink(fp_rs," date" )%>&S1=<%=FP_FieldLink(fp_rs," S1" )%>&email=<%=FP_FieldLink(fp_rs," email" )%>&company=<%=FP_FieldLink(fp_rs," company" )%>&contact=<%=FP_FieldLink(fp_rs," contact" )%>" > And posts to amend.asp, which has the amending form. In this form I have used the... <%=request(" S1" )%> ...format to pre populate the form. AT THIS POINT I CAN NO LONGER SEE THE BREAKS IN THE TEXTAREA. So this is where I' ve tried to use ... <%=Replace(Request(" S1" ),chr(10)," <br>" )%> ...but I can' t seem to get breaks to appear at this point. The interesting thing is this. I can' t see breaks at this point, and if I submit it back to the database, the breaks that were in the field (that could be seen in other parts of my site) will disappear. In other words, not only can I not see the breaks, but they aren' t there. If I type in more breaks here, either where they originally were or somewhere else, then they will be submitted to the DB and can once again be seen elsewhere on the site. I hope this makes it a bit clearer? Please stick with me on this one. The answer' s close I can feel it!! I just can' t see it!! Regards
|
|
|
|