|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
can you change a record source in sub procedure
can you change a record source in sub procedure? If so how?
i need to do this because i am running a procedure that locks a table that i need to delete in a form. I tried everything set rs = nothing set db = nothing is there a way i can unlock the table so i can delete it? i tried everything like i said even closing out all the forms that the sub procedure opens.. |
|
#2
|
|||
|
|||
|
Me.RecordSource = "<rsName>"
Later, David Somers |
|
#3
|
|||
|
|||
|
it fails
any way to unlock all tables so i can delete it |
|
#4
|
|||
|
|||
|
Close the database and open it again.
Later, David Somers |
|
#5
|
|||
|
|||
|
i can't
it has to do delete the table during this sub procedure |
|
#6
|
|||
|
|||
|
Well, from above just try using Me.RecordSource = "" if you haven't tried that already.
Otherwise post your db so we can see whats going on. Later, David Somers |
![]() |
| Viewing: ASP Free Forums > Database > Microsoft Access Help > can you change a record source in sub procedure |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|