Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need good practice suggestion
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01356528
Message ID:
01356574
Views:
27
>>>
>>>Actually, this is what I used to do. But now I am converting the application to a 3-tier design with the purpose of using either VFP data or SQL Server. So now I am passing to the DA tier an expression that may need any number of tables to be opened. So unless the function in DA tier parses the expression and finds all tables that need to be opened, it is difficult to open the tables beforehand. I believe that by wrapping the macro in TRY/CATCH will eliminate run-time errors. Also, I think I need to include SET REPROCESS TO a large number of seconds.
>>
>>There are connection properties you can set to control retries, similar to SET REPROCESS for FoxPro tables. That will handle slight delays of the type you describe.
>
>Could you please explain what you mean by "connection properties"? Where do I see these properties?

Take a look at SQLSETPROP() -- WaitTime and also ConnectTimeOut.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform