General information
Category:
Coding, syntax & commands
Title:
No table is open in the current work area
Environment versions
Network:
Windows 2000 Server
I am getting this error, i will try to explain what i do to get the error:
I have a grid with two records, when i change the last field of the grid setting to empty and press the '+' key which is captured by the form which have this code:
CASE CHR(nKeyCode) = "+"
NODEFAULT && No permitir que se vean los caracteres en la pantalla
Thisform.cmdCancelar.Click
&& This is the code of the cmdCancelar.Click
With thisform
.cboProcesos.ListIndex = -1
.SetAll("Value","","TextBox")
.SetAll("Value","","CKTextBox")
.grdDatos.RecordSource = "" && <------------- Get error here
.txtTicketNo.SetFocus
.Validticket = .F.
EndWith
I get an error saying
"No table is open in the current work area"
I check the datasession and the table is open in that datasession, the weird thing also is that it empties the first two columns of the current record.
But if i change the focus to other control using the keyboard or mouse i don't get the error.
Can someone help me?
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only