Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SetRootRecordset Not updateable

Status
Not open for further replies.

99Chuck99

Programmer
Dec 11, 2003
67
US
Hi All,
Not sure if I'm in the right forum, But here is my question/problem. I'm using a Access Data Page. When the page opens I can update the records shown. I then use dropdownlist to gather parameters and then set the rootrecordset for the page. Data refreshes and it pulls the records I want but I can not update them now. Is there something I need to set or refresh to all these to become updateable. I have tested the setrootrecordset to be the same as when the page originally open so I dont think is has anything to do with the actual recordset. Key fields are there. Any help on this would be greatly appreciated...

strConnectionString = "Provider=MSDataShape;Persist Security Info=False;Data Source" _
& "=\\Kscboc2\Share\Jbosc\Rpi\Databases\VALIDATION.mdb;User ID=Admin;"_
& "Data Provider=Microsoft.Jet.OLEDB.4.0"



Set rstWEBVALIDATION = CreateObject("ADODB.Recordset")
rstWEBVALIDATION.Open strShapeSQL, strConnectionString, 1, 3
msgbox rstWEBVALIDATION.RecordCount
MSODSC.SetRootRecordset "WEBVALIDATION", rstWEBVALIDATION
MSODSC.RefreshJetCache
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top