I found a solution - apparently the DB file was just hosed. There were
actually duplicates stored somehow.

I dumped the database to a flat file and modified the IDs by hand then
imported the data into a new SQLite database. That seemed to do the
trick. I'm not sure how the corruption happened but my users have been
known to do things like store the live data file on a USB flash drive
and use it so it's hard to tell!

Thanks to all for the information and suggestions!

On Nov 20, 2007 7:43 PM, Trey Mack <[EMAIL PROTECTED]> wrote:
> >>>> INSERT INTO invoice_items
> >>>> (item_id,invoice_id,product_id,product_name,sku,description,quantity,price,cost,taxable,taxable2,format_price,format_total_price)
> >>>> VALUES (NULL,899,1001975,'HD0001 - ASH - YL','','HOUSE
> >>>> DIVIDED',1,800,450,'f','f','$8.00','$8.00')
>
> Does this work?
>
> INSERT INTO invoice_items
> (invoice_id,product_id,product_name,sku,description,quantity,price,cost,taxable,taxable2,format_price,format_total_price)
> VALUES (899,1001975,'HD0001 - ASH - YL','','HOUSE
> DIVIDED',1,800,450,'f','f','$8.00','$8.00')
>
>
>
>
> -----------------------------------------------------------------------------
> To unsubscribe, send email to [EMAIL PROTECTED]
> -----------------------------------------------------------------------------
>
>



-- 
- Mitchell Vincent
- K Software - Innovative Software Solutions
- Visit our website and check out our great software!
- http://www.ksoftware.net

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to