Question : VBA application hangs up at a certain point

The VBA application hangs up at this point of line ..(bold,underline and italic)  and I got to explicitly kill the session
Do i need to change the recordset type and the type of lock ..can this solve the issue

Set cnn = CurrentProject.Connection
    Set rst = New ADODB.Recordset
    rst.CursorLocation = adUseClient
   rst.Open strSQL, cnn, adOpenKeyset, adLockOptimistic

Let me know what the issue could be... would greatly appreciate your efforts
thanks
rds

Answer : VBA application hangs up at a certain point

I change the driver from ANSI to UNICODE and the problem is resolved.  
Random Solutions  
 
programming4us programming4us