VB6 problema con query

martedì 04 gennaio 2011 - 14.38
Tag Elenco Tags  VB.NET  |  Windows XP  |  Oracle 9g  |  Office XP  |  Javascript  |  VBScript  |  SQL Reporting Services

aragiu Profilo | Newbie

ciao,
il problema è che quando eseguo la select (che in ambiente DOS non da alcun problema) non legge la prima colonna.
Esempio:
rst1.Source = "select data, valore from tabella"

rst1.Open , , adOpenStatic, adLockOptimistic

For Each Field In rst1.Fields
Debug.Print Field.Name
Debug.Print Field.Type
Next

eisto del debug:
VALORE
5
non trova il primo campo

il database è:
Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - Production


vi ringrazio.
ciao,
Giuseppe

Andrl Profilo | Junior Member

hai provato a fare un movefirst prima? ciao
Partecipa anche tu! Registrati!
Hai bisogno di aiuto ?
Perchè non ti registri subito?

Dopo esserti registrato potrai chiedere
aiuto sul nostro Forum oppure aiutare gli altri

Consulta le Stanze disponibili.

Registrati ora !
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5