Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class generate for CAbuilder
Message
 
 
To
28/12/2005 13:51:23
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01081213
Message ID:
01082748
Views:
10
>>osea lo que necesito saber que si trabajo con estas clases de cursordapater de cabuilder si la coneccion esta siempre activa y si siempre estoy conectado a BD porque deseo hacer una aplicacion pero que la conneccion no esta siempre activa, sino que sea yo quien maneje esa parte dependiendo de mis necesidades de coneccion. me entiendes ahora??
>
>Paraphrasing: He needs to know if the cursoradapter classes generated by caBuilder will always keep the connection active and connected to the database. He wants to make an application that will not be connected at all times. He will connect as needed.

If he is referring to the VCX that my CABuilder creates, the answer is those CAs will NOT create or terminate a connection unless a connection handle or string is explicitly entered for the DataSource property. Whatever he puts in the DataSource property is what the CA will use. I typically put "GetHandle()" as the value for that property which is a procedure in a PRG file (e.g., I have a SET PRECEDURE TO MyProcs command in my main startup prg). So he can use whatever method he wants to start and terminate connections as long as what ever he calls in the DataSource property will handle this.

This is generally true whether he is using my cabuilder or not.

(...hoping you will translate this for him. Thanks)
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform