Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 The current row is not available.

Author  Topic 

Bobba Buoy
Starting Member

36 Posts

Posted - 2003-07-06 : 18:29:07
I get this error message when I try to edit a datagrid that is bound to a sql server database. Any ideas?

Thanks!

SamC
White Water Yakist

3467 Posts

Posted - 2003-07-06 : 23:57:47
What error message?

Sam

Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2003-07-07 : 16:40:21
Sam,

What you can't see? He just used format commands..

error message





Brett


Hey..I thought it was going to be a joke....but white does work...can you change the background color, if not what's the point? Secret messages?

It's like you can say some bullshit about someone and the will never fuckin know.


8-)

Edited by - x002548 on 07/07/2003 16:43:04
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2003-07-07 : 16:55:15
I believe that Bobba Buoy's (Howard Stern fan?, me too) error is in the subject which is The current row is not available.

Tara
Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2003-07-07 : 17:02:03
OK Tara, but in what context? Through EM...get out while ya still can boy...the QA ferry is leaving...get on board...

Or is he doing something else..Access?

aaaaaaaaaaaaaaaaaahhhhhhhhhhhhhhhhhhhhhhhh

(see Project from hell)



Brett

8-)
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2003-07-07 : 17:09:56
I just googled the error message (put quotes around it) and get the following as a result:

[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dbgrid98/html/vbcstDBGridControlConstants.asp[/url]

So possibly his question is about VB.

Tara
Go to Top of Page

moon
Starting Member

1 Post

Posted - 2003-07-22 : 11:15:17
el error aparece cuando el datagrid esta vacio (EOF) y al agregar un renglon aparece ese mensaje. Intenta escribiendo el siguiente codigo:

Private Sub grdCtas_RowColChange(LastRow As Variant, ByVal LastCol As Integer)
With adoObj
.CursorType = adOpenDynamic
.RecordSource = "Select * FROM table"
.Refresh
If .Recordset.EOF Then
.Recordset.AddNew
End If
End With
End Sub

Espero te ayude

quote:

I just googled the error message (put quotes around it) and get the following as a result:

[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dbgrid98/html/vbcstDBGridControlConstants.asp[/url]

So possibly his question is about VB.

Tara

 
 
 


Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2003-07-22 : 12:26:12
quote:

el error aparece cuando el datagrid esta vacio (EOF) y al agregar un renglon aparece ese mensaje. Intenta escribiendo el siguiente codigo:

Private Sub grdCtas_RowColChange(LastRow As Variant, ByVal LastCol As Integer)
With adoObj
.CursorType = adOpenDynamic
.RecordSource = "Select * FROM table"
.Refresh
If .Recordset.EOF Then
.Recordset.AddNew
End If
End With
End Sub

Espero te ayude





Ummmm, ok.

Tara
Go to Top of Page
   

- Advertisement -