Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

field editor 1

Status
Not open for further replies.

yomyom

Programmer
Dec 23, 2002
119
GB
The field editor in delphi4 does not work when you double click it. 4 now, i declare the fields by my self but is there a fix out there?
yomi(yom yom)
 
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.
 
You are correct. Thank-you very much. 10 stars to U!!!!
Yomi(Yomyom).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top