可以从 QuickBooks QBM 文件中获取 SQL 表。也许那里有一个 SQLite 数据库?

发布于 2024-11-02 12:03:05 字数 201 浏览 2 评论 0原文

如果我可以将表格导出为 SQL 或 CSV 或其他可行的格式,这将简化我们软件的数据导入。我们经常从 QuickBooks 导出并导入到我们的软件中,如果我们能够获取客户的 QBM 文件,然后由我们完成其余的工作,事情会更简单、更快。我们一直在将单个报告导出到 CSV 文件,但这是一个手动过程,我们希望用 QBM 到 SQL 工具(或 CSV 文件或制表符分隔文件或其他可行格式)替换。

It would simplify data import for our software if I could export the tables to SQL or CSV or other workable format. We often export from QuickBooks and import into our software and it would be simpler and faster if we could just get the customer's QBM file and then do the rest on our end. We have been exporting individual reports to CSV files, but that is a manual process which we would like to replace with a QBM to SQL tool (or CSV files or Tab Delimited files or other workable format).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

初懵 2024-11-09 12:03:05

QuickBooks 的 ODBC 驱动程序可在此处获取。该驱动程序基于 QuickBooks SDK。您可以在此处了解有关 SDK 的更多信息。如果您想构建一个复杂而强大的导出实用程序,应考虑直接使用 SDK。这会涉及一些开发资源,但是如果您直接使用 XML API 而不是仅在 .NET、VB6 和 VBA 中支持的“QBFC”接口,那么在 SDK 中使用 Java 是没有问题的。

另一方面,如果您只需完成一些简单的导出,我建议您使用 Excel 等 ODBC 兼容工具,而无需编写代码。有一个优秀的工具可用,它可以完全省去 ODBC,只为您完成导入和导出。绝对值得一看。

最后,如果您更喜欢使用 Perl 或 Java 中的 ODBC,那么使用 QODBC 驱动程序绝对可以实现。但是,听起来您必须学习如何从 Perl 或 Java 访问 ODBC,因为您没有使用 ODBC 的经验。这不是学习 ODBC 的最佳方法,因为 QODBC 驱动程序有点不寻常。

The ODBC driver for QuickBooks is avaiable here. This driver is based on the QuickBooks SDK. You can find out more about the SDK here. If you want to build a complex and robust export utility, should consider using the SDK directly. This will involde some development resources, but there's no problem using Java with the SDK if you use the XML API directly rather than the "QBFC" interface which is only support in .NET, VB6, and VBA.

If, on the other hand, you just have some simple exports to get through, I would recommend using an ODBC compatible tool like Excel and forget about writing code. There is an excellent tool available that will dispense with ODBC altogether and just do your imports and exports for you. Definitely something to look at.

Finally, if you prefer to use ODBC from Perl or Java that is definitely possible with the QODBC driver. However, it sounds like you'll have to learn how to access ODBC from either Perl or Java since you don't have experience with ODBC. This is not the best way to learn ODBC, since the QODBC driver is a bit unusual.

穿透光 2024-11-09 12:03:05

我们的应用程序中有类似的要求,并找到了名为 Quickbooks Data Provider 的东西。它就像一个工具,允许您从 QB 获取信息并将其作为 SQL 表访问,就像使用 SQL Server 一样。这很棒,因为您可以按照您想要的任何方式操作数据。

有了它,您可以执行以下操作:

QuickBooksConnection cn = new QuickBooksConnection(conString);
QuickBooksCommand cmd = new QuickBooksCommand("SELECT * FROM Customers", cn);
QuickBooksDataReader rdr = cmd.ExecuteReader();
while (rdr.Read()) {
    listBox1.Items.Add(rdr["Id"] + " : " + rdr["Name"]);
}

发现它使用起来非常简单,并且对操作信息有很大帮助。

We had a similar requirement in our application and found something called Quickbooks Data Provider. It’s like a tool that allows you to get information from QB and access it as SQL tables, just like using SQL Server. It’s great because you can manipulate the data in any way you want.

With it you can do something like:

QuickBooksConnection cn = new QuickBooksConnection(conString);
QuickBooksCommand cmd = new QuickBooksCommand("SELECT * FROM Customers", cn);
QuickBooksDataReader rdr = cmd.ExecuteReader();
while (rdr.Read()) {
    listBox1.Items.Add(rdr["Id"] + " : " + rdr["Name"]);
}

Found it very simple to use, and helped a lot to manipulate the information.

终陌 2024-11-09 12:03:05

Quickbooks 有 ODBC 驱动程序。我认为它甚至附带了一个,但我的想法可能是错的。

There are ODBC drivers for Quickbooks. I think it even ships with one, but I could be wrong about that.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文