On 12/12/2010 4:54 AM, Andrew Stirling wrote:
> Is there a way to determine that a table row is empty, apart from id&
> Fid fields?
>
> An employee may have expenses that need to be reported to HMRC at
> yearend. The operator can create or delete the expense form(record).
> However if they create it but do not enter information, or delete the
> information that was entered& do not delete the form then, when I
> report the information, a blank record fouls the XML rules.
>
> Thanks
> I can add up all the numeric fields& filter 0.00 amounts, just looking
> for a more elegant method.
Not sure this is any easier, but it's more elegant! <g>
1. Create record, enter ID & FID fields to identify employee.
2. SCATTER NAME oBefore && create 'before' object
3. Present form for data input
4. SCATTER NAME oAfter
5. IF NOT COMPOBJ(oBefore, oAfter)
then they didn't fill in anything.
Dan Covill
_______________________________________________
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.