Don't think I need more coffee -- just to finish what I already have. :-)
OLDVAL('table.upc') returns the numeric value: OLDVAL('upc', 'table')
returns the character value.
On Sat, May 29, 2010 at 14:03, Garrett Fitzgerald
<[email protected]> wrote:
> I'm checking to see if a UPC field was changed to a duplicate record.
> I thought that the easiest way to do this would be to check the
> OLDVAL() of the field in the Valid method of the textbox, and if it
> changed, use INDEXSEEK to see if the new value was already in the
> table. However, OLDVAL() is returning the numeric equivalent of the
> character field, which is not exactly ideal. Is this a VFP
> bug/misfeature, or do I just need to go downstairs and load up on
> coffee?
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** 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.