Raghu_V


Hi,.

I have a small doubt regarding cursorsetprop()...Tableupdate().

Here is a sample code:

=CURSORSETPROP("UpdatableFieldList", lcControlSource)
=CURSORSETPROP("UpdateNameList", lcNames)

IF TABLEUPDATE(.F.,.T.)
.
.
.
ENDIF

What happens if the lcNames (columns) are not present in the table we
are updating

Please reply as early as possible.

Thanks in advance,
Raghu




Re: Need info on Cursorsetprop()

Naomi Nosonovsky


I tried with CursorAdapter class and got an error right away on CursorFill method.




Re: Need info on Cursorsetprop()

Raghu_V

So, you mean to say that we will get an error if we do not have the columns in the table.





Re: Need info on Cursorsetprop()

CetinBasoz

They should be. It is the updatenamelist. Otherwise it is no different than you are trying to update nonexistant fields.



Re: Need info on Cursorsetprop()

Naomi Nosonovsky

Yes.



Re: Need info on Cursorsetprop()

Raghu_V

Thanks guys. I appreciate your answers. Thanks for your time.