Subject Re: [IBO] Posting a second record to a Dataset linked to a TIB_Grid
Author Helen Borrie
At 11:35 AM 9/10/2005 +0000, you wrote:
>No, I have not NOEDIT checked for any field; although, I have
>READONLY checked for some of them (those I don't want to be edited by
>the user on grid, they are changed by code).

Here is no doubt the cause of your original problem, after all. READONLY
means that the field cannot be altered by the application at all - it
doesn't just stop the user!!

If the user can't see it anyway, you don't need to do anything to it. If
you are showing it to the user but don't want to allow the user to edit it,
then use NOEDIT.

>This question is up for a long time, with no solution. Indead, it's
>quite hard to find out the problem without seeing the entire code.
>This way, we'll probably never find out the solution.
>So, I will try to "shrink" code, starting from a very simple code
>that works, and then gradually growing it until a point it doesn't
>work anymore, maybe this way I will be able to figure out what the
>problem is. I will try this way, unless some of you has another
>suggestion, OK?

The comment to make on this is that something seems hard, then there's
somethiing you're missing. And there was....

For future reference, don't omit important details from your problem
description. You might not think that setting a field READONLY is relevant
to a problem where an assignment appears to fail. It happens that it is....

Helen