News:

Please remember to do a search before you ask a question!

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Database Query and Report

Started by cormaic, January 03, 2013, 05:01:50 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

cormaic

I produce designs in TurboCad which require a simple table to report the quantity of each of a range of items.

In TurboCad 15 Pro, I had a simple report set up which used the following query to generate the table which counted the relevant items...

'[C]length'>='1'

...I've just upgraded to TurboCad 19 Pro 64-bit on Win 7 and the very same query produces a report that is empty, as reported by a dialogue box.

If I remove the query and rely on a query-less summary report to include ObjectID, [C]Part, [C]Length and [C]Width, the report accurately quantifies the the various parts, but also includes two lines at the top of the table with quantities but no part name, and no values for length and/or width. I need to eliminate these two extraneous lines.

If I create a new drawing with just one each of, say, four different parts and then generate the report without a query, the resulting table reports 7 unspecified items on line 1, 1 unspecified item on line 2, then the four parts on lines 3 to 6

So: how do I get a report to eliminate these unnecessary lines? Is there a form of query that would do it?

Dean

I’ll try to help>
I do use the database tools frequently. Below are a few things that work for me when the database tools start to become inconsistent:
First make a copy of the original drawing and work on the copy. This has saved me from a lot of grief.
Try switching from summary to detail under the report type in the report edit window
If you have text as the data type use integer, double or currency under data type in the define fields window
Remove then add the custom field in the database report edit window under report fields. Sometimes this updates it. Also try regenerating the report. I have to admit it is a great tool but it’s not 100% reliable. The other query “select by”  tool is more consistent. You would think the two query tools would give the same results. I haven’t figured that out yet. I use V19 32 bit. I tried the 64 bit but it was driving me crazy due to the many small type of bugs and what not.
Try the 32 bit version
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0