I'm developing a webstore application for e-commerce(or trying to :-p ). I'm wondering about the best way to get some values from my database. I have Categories, Families and SubFamilies.
Now each time i load a page, depending on the page level, the server has to load/unload around 5...
here's one problem:
I've tried:
Response.Write "<BR>Entered GetMarca with Codigo=/" & Codigo & "/<BR>"
and i got:
Entered GetMarca with Codigo=/1/
Entered GetMarca with Codigo=/1/
to sheco
Are you running this from a web server or as a .vbs file?
i'm running fro a web server.
I dont see you open the connection, is this a global variable connection?
it´s an include .asp file
No, the field is correct (Marcas.Cod) and it's an auto_increment field. i've tried to use the code in a separate asp page and it work's fine. Here's the code working:
<!--#include file=Conn.asp-->
<%
Dim SQLMarcas
Dim RSMarcas
Dim Cod
Cod = 1
SLQMarcas = "SELECT Marcas.Nome "...
Hi there...!
I have a problem when calling a function that returns a recordset value. Here's my problem:
sub main
...
call WriteCatalog(rs("productname"),..., GetName(rs("manufacturercode")),...)
...
end sub
sub WriteCatalog(prodname,...,manufacturer,...)
response.write...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.