Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP allows users to retrieve connection passwords
Message
De
08/07/2005 11:07:54
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
01030325
Message ID:
01030485
Vues:
11
David,

I tried
SQLSETPROP( this.nConnHandle,"ConnectString", 'test')
but got error

Property value is out of bounds.

VFP help says that ConnectString is read-only.


>Andrus,
>
>I'm not at a place where I can try this, but after the connection is established can you wipe out the connection string via a SQLSETPROP without losing the connection?
>
>
>gnHandle = SQLStringConnect( ... )
>? SQLSetProp( gnHandle,"ConnectString", "can't look here now" )
>
>
>I'm not sure if a #define is going to work if you are letting them play in the report designer.
>
>>I'm connection to a Postgres 8 SQL server using ODBC drivers from Postgres distribution. This ODBC driver does not have Trusted_Connection parameter.
>>How to use trusted connection with Postgres ?
>>
>>I'm thinking about replacing SQLGETPROP or connectstring string literal inside vfp dlls with some other unquessable string . Will VFP work in this case?
Andrus
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform