John Weller wrote:
> True - the job I was thinking of was that of replacing APPEND BLANK, GATHER
> MEMVAR
>
>
Been using INSERT INTO xxx FROM MEMVAR for years but when you have
scattered to an object like say Thisform.oVars and you want to insert a
record, VFP7 does not give you the NAME option. I put in a bit of code
to get round it, but it would be nice to just do it directly.
SELECT pohead
FOR lnCnt = 1 TO FCOUNT()
lValue = EVALUATE('thisform.oVars.'+FIELD(lnCnt))
cTempfld = 'm.'+(FIELD(lnCnt))
&cTempfld = lValue
NEXT
INSERT INTO pohead FROM MEMVAR
Think I'll have to review all the add-ons since 7 to see if it is worth
upgrading.
Peter
----------------------------------------------------------------------------------------
This communication and the information it contains is intended for the person
or organisation to whom it is addressed.Its contents are confidential and may
be protected in law. Unauthorised use, copying or disclosure of any of it may
be unlawful.If you have received this message in error, please notify us
immediately by telephone or email.
While Rajan Imports has taken every reasonable precaution to minimise the risk
of virus transmission through email, we cannot accept liability for any damage
which you sustain as a result of software viruses.
It is the responsibility of the recipient to ensure that they have adequate
virus protection.
www.rajan-group.co.uk
Rajan Imports Ltd
Head Office:61 Great Ducie Street, Manchester M3 1RR. Tel:0161 831 3700
Fax:0161 831 3715
London Office:17-19 Foley Street, London W1W 6DW Tel:0207 299 7960
_______________________________________________
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.