Jump to content
Fórum Script Brasil
  • 0

Asp Junto Com Access



4 answers to this question

Recommended Posts

  • 0

faz isso em asp...eu não lembro o camando em sql que faz a soma...esse comando vai mais rapido,...mas por enquanto fazer o q não é?...


set conn = Server.CreateObject("AdoDB.Connection")

drv = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=CAMINHO DO SEU BD;Persist Security Info=False"

conn.Open drv

set tabela = Server.CreateObject("AdoDB.RecordSet")

tabela.ActiveConnection = conn

tabela.Open "Select COLUNA from SUA TABELA"

while no tabela.EOF

total = total + tabela("campo")



response.write (total)


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Forum Statistics

    • Total Topics
    • Total Posts
  • Create New...