|
-
Apr 13th, 2006, 10:54 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED]Question about rs.CursorLocation = adUseClient
The answer to my last problem with the datagrid not populating was that i needed to add rs.CursorLocation = adUseClient code before the rs.Open code.
Example:
rs.CursorLocation = adUseClient
rs.Open "tblEmployee", cn, adOpenKeyset, adLockPessimistic, adCmdTable
However, I do not want to be a programmer who Copies and Pastes and says it works because it's MAGIC!!!
Why did it only populate my datagrid after I added the code rs.CursorLocation = adUseClient? What's the purpose of this code and I basically want the 411 about this code. Any information on how this code works and why it works will be helpful since I'm currently in the state of .
Last edited by lilmark; Apr 14th, 2006 at 12:22 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|