Paul, Thanks. What/how are the virtual fields supposed to be used for?
Larry -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul McNett Sent: Monday, April 16, 2007 1:50 PM To: Dabo Users list Subject: Re: [dabo-users] Virtualfields [EMAIL PROTECTED] wrote: > My table has foreign keys to reference tables. For example... > > Primary table has pkid, fk_refid, etc... fields > > Ref table has pkid, description fields > > Ref.pkid will be stored in primary.fk_refid > > User needs to be able to manually enter a value for description vs just > lookups from grid or other list. I need to verify that description is a > valid selection and then store ref.pkid into primary.fk_refid. Even though you aren't dropping down a list of lookup values for the user to pick from, you still are using a lookup design, at least as I see it. Every time the user leaves one of these text fields, you need to query the lookup to see if it is valid, and if not, disallow the entry. You will have a derived field for the description in the bizobj, which you'll need to recalculate when the validation passes, and probably set to '' if it doesn't pass. It sounds like you are already doing this and just wondering if VirtualFields would make it better/easier. The answer to that is no... -- pkm ~ http://paulmcnett.com [excessive quoting removed by server] _______________________________________________ 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/dabo-users/!&[EMAIL PROTECTED]
