Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
No table is open in the current work area
Versions des environnements
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?
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement