If you need for the user to be able to edit a non-DataBase field, then add a
garbage column to the DataWindow. The user will be able to type in there,
but the value won't be saved to the DBMS.
To add a column, hit the SQL button, then choose "Convert to Syntax" (I
believe off the Design menu). Add columns as appropriate. The following
example assumes MSS.
Select table.name,
table.id,
"this will be a string column",
123456780, // This will be an extra numeric column
Convert(DateTime, "1998/01/01") // This will be an extra DateTime
Column
To fake out the "computed field" portion, you can put your calculation code
in the ItemChanged event so that your new columns are set as appropriate.
Dale Fox, CPD
Shobana Juliana wrote in message <#OtqKMjE#GA....@forums.powersoft.com>...
>
>
--
Mahendra Dhamdhere, CPDA
Email:nospam_m...@hotmail.com
Pl. Remove nospam_ from email id
It cannot be called a computed-field if it is editable. I do not know your requirement. But maybe using a computed-column may help.
S Rao
I would have agreed if you had said that my suggestion removes DBMS
platform-independence though...
Dale Fox, CPD
dm wrote in message ...
DM
Dale Fox wrote in message ...
>Actually my point is that I read many advices from
>knowledgeable people like you which answer to questions like:"I have a
>datawindow and I don't like its behaviour, how can I break it ?"
Programmers never try to use a tool differently than they are supposed to do
they? :) I've seen a number of those types of questions too...
>BTW, encapsulation also means hiding the values of the attributes
You're right.
Dale Fox, CPD
Dale Fox wrote in message ...
Just my 2d
Simon
Simon Caldwell wrote in message ...