Page 1 of 1

uniquery1.Options.SetFieldsReadOnly:=false;

Posted: Sat 31 Oct 2009 00:32
by wjzws
Hello:

UniConnection1.Options.DisconnectedMode:=true;
uniquery1.Options.SetFieldsReadOnly:=false;
// uniquery1.Options.RequiredFields:=false;
uniquery1.CachedUpdates:=false;

post, suggesting that: "RequiredField must have a value"

after setr uniquery1.Options.RequiredFields:=false; is OK

This should be a problem, right?


Also, niquery1.Options.SetFieldsReadOnly:=false; some read-only field such as: calculation of the primary key fields and self-growth can be rewritten.

Re: uniquery1.Options.SetFieldsReadOnly:=false;

Posted: Mon 02 Nov 2009 12:07
by wjzws
Solved! In fact, this works fine!



There is often a need for read-only field to write!

 

Such as: select 0 img, 'ABC' name, * from Test



Then need to write the field: img name



Thank you! ! This function works fine! ! , Hoping to preserve!