---
title: "Fel med Response.Write"
type: "forum-thread"
url: "https://www.webforum.nu/amne/asp/149344-fel-med-response-write"
topic: "ASP"
topic_url: "https://www.webforum.nu/amne/asp"
author: "bigsky"
published: "2006-07-23T20:33:28.000Z"
updated: "2006-07-24T03:31:38.000Z"
replies: 6
views: 334
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/asp/149344-fel-med-response-write"
---

# Fel med Response.Write

## #1 — bigsky, 2006-07-23T20:33Z

Varför blir det fel med denna kod:

```
Response.Write "<td width=""154"" height=""20"" align=""left"" valign=""top"" colspan=""2"" class=""productprice"">" & strTextProductPrice & " <b>"" & Call BoxConvertCurrency(rsShowFeaturedProducts(Price), rsShowFeaturedProducts(Vat)) & ""</b></td>"
```

Inga värden skrivs ut från Price och Vat. Bara massa kod skrivs ut. Misstänker att det fattas något "" men hittar inte vart.

Permalänk: https://www.webforum.nu/p/149344

## #2 — ConnyFox, 2006-07-23T20:35Z

```
Response.Write "<td width=""154"" height=""20"" align=""left"" valign=""top"" colspan=""2"" class=""productprice"">" & strTextProductPrice & " <b>" & Call BoxConvertCurrency(rsShowFeaturedProducts(Price), rsShowFeaturedProducts(Vat)) & "</b></td>"
```

Permalänk: https://www.webforum.nu/p/1844284

## #3 — K@llen, 2006-07-23T20:36Z

Vad jag kan se har du en " för mycket efter \<b\>. Och en " för mycket innan \</b\>.

Permalänk: https://www.webforum.nu/p/1844287

## #4 — bigsky, 2006-07-23T21:08Z

Jo, det har jag provat men då blir det syntaxfel och då pekar den ut "Call BoxC..."

Permalänk: https://www.webforum.nu/p/1844297

## #5 — K@llen, 2006-07-23T21:13Z

Jag tvivlar på att du kan anropa en sub inuti en response.write.

Permalänk: https://www.webforum.nu/p/1844298

## #6 — ConnyFox, 2006-07-24T03:05Z

japp, måste vara det som är felet.

Permalänk: https://www.webforum.nu/p/1844312

## #7 — CatZ, 2006-07-24T03:31Z

```
Response.Write "<td width=""154"" height=""20"" align=""left"" valign=""top"" colspan=""2"" class=""productprice"">" & strTextProductPrice & " <b>""

Call BoxConvertCurrency(rsShowFeaturedProducts(Price), rsShowFeaturedProducts(Vat)) 

Response.Write ""</b></td>"
```

Permalänk: https://www.webforum.nu/p/1844314

---

Tråden på webben: https://www.webforum.nu/amne/asp/149344-fel-med-response-write
