Hi,
   Thanks for all the suggestions, they have basically worked fine except for 
some strange behaviour I am observing.       
   When I first go into my screen (as generated by ClassDesigner) if I clear my 
description field on the first record and then click save I get the message at 
the bottom of the screen 'Saving all changes...'etc. The record is not in fact 
saved to the database and the validation has not been applied, but the 
in-memory cursor has the description field cleared. If I move to the next 
record and then back it is still clear (which is OK and expected).
  If I then go to the second or 3rd record, clear the description and then 
click save the validation does work - the err message comes up, the save is 
cancelled and as previously the in-memory cursor has been updated.
  Further, if when I first enter the screen I navigate immediately to the 
second record and then return to the first record the validation works fine on 
that record if I clear the description.
   Seems as if something has not been initialised when the screen is first 
displayed, but is as soon as any record navigation has occured.
   Hope this doesn't sound as confusing to you as it does to me!
                    Rodgy
ps minor detail - if after the validation error message I want to setFocus() on 
the relevant control, how do I reference it

--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to