I have a combo box
Controlsource=wintemp.pcode (temporary table)
Rowsource=winpcodes (free standing table)
Rowsourcetype=2 - alias
BoundTo=.t.
In the valid event, i have
mPcode=wintemp.pcode
SELECT winpcodes
SEEK mpcodes
IF !FOUND()
trt=MESSAGEBOX(ALLTRIM(mPcode)+' does not exist in the analysis
table. Do you want to ADD this?',4+32,'Good idea')
IF trt=6
APPEND BLANK
REPLACE code WITH mPcode
ENDIF
endif
sele wintemp
My problem is
If mPcode is not found in the winpcodes table, it places a BLANK item in
the winpcodes file
It seems not to matter if BoundTo is True or False
Any ideas anyone?
--
Kind regards,
Sytze de Boer
Kiss Software
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/CAG1nNy_1g5eB=mk1v+ugtj-xdnckxwshdjbd91v3wvuvgsu...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.