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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DBLookupComboBox

Status
Not open for further replies.

PANTLORD

Programmer
Aug 28, 2001
49
EU
Hi there,

Any ideas how I can clear the displayed data in this control i.e. not the values to select from the drop down list just what is displayed in the text part. Its for a logout field and I want people to know they have to reselect a name without it the old name simply remains and it is not clear to go and choose a new one.


Thanks
PL
>:):O>
 
If you clear the data in your field, technically it should clear the display in the data aware control as well. Have you tried that? TealWren
 
You have to nullify the value of corresponding field, ie, suppose you have bounded 'username' field with the lookupcombo means what you have to do is
table1.fieldbyname('username').asstring := ''; then it will clear the text part of lookupcombo.

mail me : spradeepraj@dsqsoft.com
Delphidhasan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top