---
title: "strFullpath"
type: "forum-thread"
url: "https://www.webforum.nu/amne/asp/99890-strfullpath"
topic: "ASP"
topic_url: "https://www.webforum.nu/amne/asp"
author: "Thompa__85"
published: "2004-03-20T12:14:44.000Z"
updated: "2004-03-20T14:13:15.000Z"
replies: 1
views: 195
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/99890-strfullpath"
---

# strFullpath

## #1 — Thompa__85, 2004-03-20T12:14Z

Hejsan wf!
Jag skulle vilja spara en sak i databasen, men vet inte riktigt vad det är jag ska skriva ;) Detta är min kod:

```
Dim objUpload
Dim strFullPath

Set objUpload = New overrUpload
	
With objUpload
InputFormName = "UploadFile"
.UploadPath  = "press_bilder"
.NewFileName = session("user")
.UploadFile
			
strFullPath = .UploadedFilePath
End With
		
Set objUpload = nothing
```

Sen tänkte jag då spara strFullPath i databasen!

```
SQL = "UPDATE members SET bild = '" & adress till bild "' WHERE vemid = '" & Session("id") & "'"
Conn.Execute(sql),,128
```

Men, hur skriver jag det?

Tack på förhand!

Mvh Adde

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

## #2 — m_soderlund, 2004-03-20T14:13Z

```
SQL = "UPDATE members SET bild = '" & strFullPath & "' WHERE vemid = '" & Session("id") & "'"
Conn.Execute(sql),,128
```

 borde fungera utmärkt. :)

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

---

Tråden på webben: https://www.webforum.nu/amne/asp/99890-strfullpath
