Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Its too late for VFP 7 - but suggestions for VFP 8
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00522770
Message ID:
00522988
Vues:
11
Jess,

In addition to what Alexandre and Larry have said (that you need to both declare and initialise the variable), why would you expect the intellisense to work outside the Init? You've declared the variable as LOCAL within that method - it's not in scope anywhere else.

Cheers,

Andrew

>Craig,
>
>What am I missing here??
>
>In the INIT method of the form,
>
>LOCAL oObj AS ADODB.CONNECTION
>oObj.OPEN("bbfsdsn","sa","")
>oObj.CursorLocation = 2
>
>This one does not work at runtime although intellisense popups during development time and within init only. Meaning, oObj. has no more intellisense popup in other methods.
>
>oObj = CREATEOBJECT("ADODB.CONNECTION")
>oObj.OPEN("bbfsdsn","sa","")
>oObj.CursorLocation = 2
>
>This one works, but no intellisense available in any method.
>
>Please educate me.


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform