What do you mean by "field editor"?
What are you double-clicking on?
What is the result?
What do you think should have happened?
How are you declaring the field by yourself?
Zathras,
The field editor is used to declare 'field' variables which can be seen by the object inspector and can enable you set values as well as store and retrieve the underlying field value in a table. E.g
if a table has a field called Name (in table1) and user enters 'zathras' in an editbox i.e (edit1) then you can assign the value in edit1.text to table1Name.text.
The variable =>'table1Name' is usually created using the field editor and it is called up by double clicking the table icon during development.
Its not working in delphi4 so i'm having to declare these variables by myself which is not ideal.
Yom yom.
So you can double-click on a TTable icon. That should open a small dialog window (assuming you have a connection and the database/name properties are set). If you right-click in that window, you should see a pop-up menu that offers (among other things) "Add all fields Ctrl+F." Selecting that should paste all of the TXxxxxxField references into your unit.
If not, do you have a client-server (or Enterprise) version of Delphi?
At least, that's the way it works in D5. If no one else comes up with an answer, I can review what happens in D4 after I get home tonight.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.