# Database Flash ..?

**URL:** https://forum.kirupa.com/t/database-flash/51099
**Category:** flash
**Created:** [May 9, 2004, 9:51pm UTC](https://forum.kirupa.com/t/database-flash/51099 "2004-05-09T21:51:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![zebdaag](https://avatars.discourse-cdn.com/v4/letter/z/53a042/32.png) [@zebdaag](https://forum.kirupa.com/u/zebdaag)
#### Post date: [May 9, 2004, 9:51pm UTC](https://forum.kirupa.com/t/database-flash/51099/1 "2004-05-09T21:51:48Z")

</div>

Hi I read this tutorial and made it work fine. [http://www.kirupa.com/developer/actionscript/forms\_database.htm](http://www.kirupa.com/developer/actionscript/forms_database.htm)

In [color=black]this tutorial Dave Collier AKA Digitalosophy explains quite simpel how to write the ASP script for loading data to an Database. What my question is now…how can I convert this ASP file that it doesn’t send information but gets the information.[/color]

I changed the script a little this is what it looks like now. Can someone help me converting this in a script that loads the information from a the Database?

```auto
 <[email="%@language"]%@language[/email] = "VBScript" %>
<%
strP01Wx = Request("P01Wx")
strP01Wy = Request("P01Wy") 

MyPath=Server.MapPath("Nav.mdb")
 Set conn = Server.CreateObject("ADODB.Connection")
 conn.Open "Driver={Microsoft Access Driver (*.mdb)};" & _
 "DBQ=" & MyPath 
 
SQL = "UPDATE tabel_01 SET xwaarde = '"&strP01Wx&"', ywaarde = '"&strP01Wy&"' WHERE ID = 1"
conn.Execute(SQL)
%>  

```

I already made this SQL part but what else do I need to change…??

```auto
SQL = "SELECT * FROM tabel_01 WHERE ID = 1" 

```
