If someone else didn't mention it, try qualifying your insert values with "m." 
That should eliminate any ambiguity. 

--
rk


-----Original Message-----
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Jean MAURICE
Sent: Wednesday, February 13, 2013 11:16 AM
To: profoxt...@leafe.com
Subject: Re: VFP5 question about SUM - Crazy behaviour

Le 13/02/2013 15:38, José Olavo Cerávolo a écrit :
> insert into Msambb values ("CLASS", "", "SELECTED CLASS", 0, 0, 3, 0, 
> 0, lnBox, lnBoxDisc)
Hi José,

the normal syntax for insert into is :

insert into Msambb (field1, field2, field3, field4, ...., field10 ) ;
  values ("CLASS", "", "SELECTED CLASS", 0, 0, 3, 0, 0, lnBox, lnBoxDisc)

perhaps you have two fields more in the table and lnbox and lnboxdisc are saved 
in those fields instead of the correct ones ?

HTH
The Foxil

[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/DF1EEF11E586A64FB54A97F22A8BD0442181D12719@ACKBWDDQH1.artfact.local
** 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.

Reply via email to