>dodefault() >this.AddProperty('lValueInserted',.f.) >this.AddProperty('cValueInserted',"") >>valid of the combo:
>local lcValue, lcOldValue >lcValue = this.displayvalue >if not empty(m.lcValue ) and this.listindex = 0 >*** The user typed in something that is not in the combo's >*** list. Take action here to add the entry > if this.lValueInserted > lcOldValue = this.cValueInserted > replace cShort_Name with m.lcValue for cShort_Name == m.lcOldValue in curShortNames > else > insert into curShortNames (cShort_Name ) values (m.lcValue) > endif > this.requery() > this.value = m.lcValue > this.lValueInserted = .t. > this.cValueInserted = m.lcValue >endif >this.parent.chkDefault_Carrier.enabled = not empty(m.lcValue) >I am retired and only write code for myself. When I run into this I add a save button and the appropriate code to write the record and the problem is solved for me.