Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object reference not set to an instance of an object.
Message
Information générale
Forum:
ASP.NET
Catégorie:
Test et débogage
Divers
Thread ID:
01122916
Message ID:
01122931
Vues:
19
USE IN ( SELECT( "C_Popup" ))
SELECT ;
	0 as IsChosen,;
	a1.scUniqNo PopupKey,;
	a1.ScName PopupDesc;
   from;
	( lcPath + "Schools" ) a1;
   WHERE;
	a1.SCActive;
  ORDER BY ;
	3;
  INTO ;
        CURSOR C_Popup readwrite
	
LOCAL loXMLAdapter as XMLAdapter
loXMLAdapter	= NEWOBJECT( "XMLAdapter" )
lcXML	= ""
WITH loXMLAdapter
	*/ Add schema per table/cursor
	.AddTableSchema( "C_Popup" )
	.ToXML( "lcXML" )
	.ReleaseXML()
ENDWITH 

RETURN lcXML
This is similar code I have in other functions that work (path working ok)... Strange...




>>
>>
>>Dim oVFP As VFPApp.VFP_COMClass = New VFPApp.VFP_COMClass
>>Dim lcAnswer As String
>>' I pass session parameter to VFP for tracking in VFP side of data
>>lcAnswer = oVFP.GetAnXMLString(Session.SessionID.ToString())
>>
>>
>>
>>All other locations where I do this same thing work perfectly, login, logout, get name/contact info, etc... However, it dies on this one method and returns the error
>>
>>Object reference not set to an instance of an object.
>
>What is the code you have in GetAnXMLString()?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform