Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object reference not set to an instance of an object
Message
De
21/03/2004 12:36:29
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Titre:
Object reference not set to an instance of an object
Divers
Thread ID:
00888294
Message ID:
00888294
Vues:
48
I have the following code:
      Dim loData As DataSet
      loData = New DataSet
      Dim loDT As New OleDbDataAdapter("select * from Login into cursor Temp", _
      "Provider=VFPOLEDB.1;Data Source=D:\Login.dbf;Password='';Collating Sequence=MACHINE")

      loDT.Fill(loData)

      ' Get it into a view
      Dim loView As DataView
      loView = loData.Tables("Temp").DefaultView
I get the message "Object reference not set to an instance of an object" on the last line. The cursor Temp exists. So, why is it not recognized?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform