Hi Steve Because we have to send the customer a consolidated invoice, a branch breakdown and an xls spreadsheet so I do it in foxpro and then email it across to them automatically. They then get it into SAP.
Adam -----Original Message----- From: ProFox [mailto:[email protected]] On Behalf Of Stephen Russell Sent: 30 November 2012 14:35 To: ProFox Email List Subject: Re: VFP to SQL Server View On Fri, Nov 30, 2012 at 8:26 AM, Adam Buckland <[email protected]>wrote: > ew on SQL Server 2008 (It's a Sage accounts database if that matters) > which I need to get at from foxpro 6 and later V9 > > The view spans 8 tables and basically gets invoicing details that I > need to make a consolidated invoice to end up in a SAP system but to > start with... is there a way to get data from this view completely > under Foxpro to a local foxpro database without having to download > individual tables and reconstruct the view? > ---------------------- Yeah you just use the view. Select * from M2M_BOOKER You can add a where clause as well. select * from M2M_BOOKER where CustomerAccountNumber = lcCustomerAccountNumber If you are loading SAP why would you do this in Foxpro? Either from SQLServer itself, or using SAP you should be able to put the same construction together for a data load to SAP. -- Stephen Russell Sr. Analyst Ring Container Technology Oakland TN 901.246-0159 cell --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] 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/[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.

