Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Database Access / August 2005



Tip: Looking for answers? Try searching our database.

Deleting from datagrid

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ian Davies - 26 Aug 2005 13:05 GMT
Hello
I have a datagrid linked to a query in Access. I can use this query to
delete records from within Access but when I try to do the same from the
datagrid I get the message 'Insufficient key column information for updating
or refreshing'. However it lets me edit the records. I have 'AllowDelete'
ticked in the datagrid's properties but this makes no difference

Can anyone offer an explanation

Thanks
Ian
Mark J. McGinty - 29 Aug 2005 19:05 GMT
> Hello
> I have a datagrid linked to a query in Access. I can use this query to
[quoted text clipped - 5 lines]
>
> Can anyone offer an explanation

DataGrid works best when bound to a client-sided batch cursor-based
recordset:

rs.CursorLocation = adUseClient
rs.LockType = adLockBatchOptimistic

-Mark

> Thanks
> Ian
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.