Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Asp Page dont Get Data
Message
De
30/08/2000 10:56:17
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00410747
Message ID:
00410764
Vues:
16
>I found an example of how to get data from a VFP database using ASP files
>
>I'm working with an NT Server 4.0, runnin IIS 3.0 and I have defined de odbc (ODBCTelefonos), some one could check this code and help me.
>
>The example don't work, just display a blank page.
>
>I'm missing something to setup on the server ?
>
>Do I need FoxISAPI ? How I could Setup FoxISAPI ?
>
>The example is the next:
>
>Set Conn = Server.CreateObject("ADODB.Connection")
>Conn.Open 'ODBCTelefonos'
>Set RS = Conn.Execute('SELECT * FROM telefonos!telefonos')
>Do While Not RS.EOF
>= RS("telefono")
>RS.MoveNext
>Loop
>
>RS.Close
>Conn.Close
>
>Thanks And Regards,
>
>Guillermo Bran

I think you have to use Response.Write or exclude the RS("telefono") from the code using %><%; so it is written to the document. Possibly also specifying "DSN=ODBCTelefonos".
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform