Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor Adapter CursorFill() call twice?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Cursor Adapter CursorFill() call twice?
Divers
Thread ID:
01680555
Message ID:
01680555
Vues:
35
Hi,

The Cursor Adapter gets the data from SQL Server by way of method CursorFill().
Does it make sense to call this method twice (if the first call fails), with the delay of 1 second? This way a glitch in SQL Server connection - maybe - is cleared and the second call is successful?

Does anyone do that?

TIA

UPDATE The reason I asked the question (above) is that the app sometimes gets this error:
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionWrite (send()).
And my understanding that the above error cannot be corrected by recovering the SQL Server connection; it is not caused by the SQL server connection. Because right before the above error popped up, the application check the SQL Server connection and it was fine. This is why I am thinking that this is a different type of glitch and maybe needs to be addressed differently.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Répondre
Fil
Voir

Click here to load this message in the networking platform