David,
I found it has something to do with the code in my Valid(), but not the REPLACE command, but everything after the REPLACE command. When I commented out the rest of the code in the Valid() after the REPLACE command, everything worked. I will have to move or rewrite the code after the REPLACE command. Thanks for your assistance.
This is all of the code in my Valid():
REPLACE arrest.unit_type1 WITH ALLTRIM(THIS.DisplayValue)
IF THIS.DisplayValue != "0" OR ;
THIS.DisplayValue != "1" OR ;
THIS.DisplayValue != "2" OR ;
THIS.DisplayValue != "3" OR ;
THIS.DisplayValue != "4" OR ;
THIS.DisplayValue != "5" OR ;
THIS.DisplayValue != "6" OR ;
THIS.DisplayValue != "7" OR ;
THIS.DisplayValue != "8" OR ;
THIS.DisplayValue != "9"
SEEKID = ALLT(THISFORM.cbo_unit_type1.DisplayValue)
SELECT aed_info
SET ORDER TO unitid
SEEK SEEKID
IF FOUND()
THISFORM.txtAEDID1.Value = aed_info.aedid
THISFORM.cboAED1.Value = ""
ELSE
THISFORM.txtAEDID1.Value = "N/A"
THISFORM.cboAED1.Value = "N"
ENDIF
ENDIF
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site:
www.stephenkramer.comWould you believe Far Side Lite?
More than 270 original cartoons.