>>Hi.
>>
>>Can anybody tell me why this happens to me alone.
>>
>>I have a form with the grid. When the user click add, then the underlying table of the grid
>>becomes a cursor created on the fly with one record containing the value of the key field.
>>If the first click I do is in the grid, it is editable. But after editing other controls of the form
>>if I click the grid, it is not editable. Can any body point out why so??
>>
>>Thanks
>>
>>alex
>
>Do you want to say that you use Cursor as Grid.Recordsource? If this cursor produced by Select-SQL command, then it's Read-Only and cannot be edited. If it's the case, you can change your code to get editable cursor (CREATE CURSOR / INSERT INTO).
Précédent
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