 |
|
 |
|
Next: What is unique_id in Oracle and what's the use of..
|
| Author |
Message |
External

Since: Aug 28, 2006 Posts: 88
|
(Msg. 1) Posted: Tue Jan 29, 2008 11:23 pm
Post subject: GPV in report designer, data model Archived from groups: comp>databases>paradox (more info?)
|
|
|
I had a tricky bug I just spent hours on, and was wondering if anyone could
explain it, or if they've run into it. I'm using Pdox 9 sp3.
An existing report had a data model of:
Child table - primary key: RecID, Date1, Time1, Seq1
Master table - primary key: RecID; (with fields Company1 & Emp1)
Company table - primary key: Company1
Employee table - primary key: Emp1
My data model used the Child table as the main table, with a 1-1 link to
Master. Master had a 1-1 link to both Company & Employee. This has worked
fine for the year or so since the report was created.
I wanted to add a new table, that looked a lot like the Child table:
Child2 table - primary key: RecID, Date1, Time1, Seq1
I tried to add this to the data model, with Child having a 1-1 link to Child2
(by including all 4 key fields). When I ran the report, without even adding
any of the fields from Child2, I got a GPV immediately.
If I dropped Seq1 from the link, it ran fine.
After much experimenting, I removed Child2 from my data model. Then I unlinked
Child from Master. I added back Child2 & relinked it with all 4 fields.
Then, I relinked Child to Master. This seems to have fixed it.
Can anyone explain why the sequence of how the tables are linked matters?
Is it because of the length of the linked keys? Is there a rule to be followed?
Thanks,
Jim Moseley
ps. To further confuse me, I got a GPV when I tried to unlink Master from
Child, while Child2 was still linked. I had to unlink Child2 first, then
Master, then add back Child2, then add back Master. Very strange. >> Stay informed about: GPV in report designer, data model |
|
| Back to top |
|
 |  |
External

Since: Jul 29, 2006 Posts: 66
|
(Msg. 2) Posted: Wed Jan 30, 2008 5:03 pm
Post subject: Re: GPV in report designer, data model [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Jim
can you recreate the GPV by creating your original report and then adding
the new table?
--
Bertil Isberg - CTECH
Paradox buglist:
online: http://hem.bredband.net/bertilisberg/
"Jim Moseley" skrev i meddelandet
>
> I had a tricky bug I just spent hours on, and was wondering if anyone
> could
> explain it, or if they've run into it. I'm using Pdox 9 sp3.
>
> An existing report had a data model of:
> Child table - primary key: RecID, Date1, Time1, Seq1
> Master table - primary key: RecID; (with fields Company1 & Emp1)
> Company table - primary key: Company1
> Employee table - primary key: Emp1
>
> My data model used the Child table as the main table, with a 1-1 link to
> Master. Master had a 1-1 link to both Company & Employee. This has
> worked
> fine for the year or so since the report was created.
>
> I wanted to add a new table, that looked a lot like the Child table:
> Child2 table - primary key: RecID, Date1, Time1, Seq1
>
> I tried to add this to the data model, with Child having a 1-1 link to
> Child2
> (by including all 4 key fields). When I ran the report, without even
> adding
> any of the fields from Child2, I got a GPV immediately.
>
> If I dropped Seq1 from the link, it ran fine.
>
> After much experimenting, I removed Child2 from my data model. Then I
> unlinked
> Child from Master. I added back Child2 & relinked it with all 4 fields.
> Then, I relinked Child to Master. This seems to have fixed it.
>
> Can anyone explain why the sequence of how the tables are linked matters?
> Is it because of the length of the linked keys? Is there a rule to be
> followed?
>
>
> Thanks,
> Jim Moseley
>
> ps. To further confuse me, I got a GPV when I tried to unlink Master from
> Child, while Child2 was still linked. I had to unlink Child2 first, then
> Master, then add back Child2, then add back Master. Very strange. >> Stay informed about: GPV in report designer, data model |
|
| Back to top |
|
 |  |
| Related Topics: | What is my data model - This should be an easy one. If I right click on a field on a form (already designed), then click on 'Define Field', I get the 'Define Field' dialog box. Now, I want to know which data model file this field is associated with. How do I do this? If I..
HTML Published Report omits data from fields - Paradoxians: I'm trying to publish a report to HTML 3.2 (using Paradox 10, Windows XP Home). The report calls a database that contains price, picture, description, retail price, item number. When I run the report, it looks OK, but when I publish, it...
Report problems - Howdy all. Appreciate your help on some issues: Looking for a way other than via code to display a group name on a report if the groups has no detail data returned by the QBE. If the grp has no data, it will not display even with the delete if empty..
Paradox Day report - Hi I would like to thank all those who joined in the irc chat channel today. Most everyone gave more than a fair slice of their time, the whole day in fact for many. Friendships were made and cemented. It was a pity that there were not more visitors,...
Report and blank page - I have been using a report for quite a while now. It was working fine. I was using the report interactively by rigth-clicking on the report and selecting Print. I now decided to create a form. I made no changes to the report. In the form I created.. |
|
You can post new topics in this forum You can reply to topics in this forum You can edit your posts in this forum You can delete your posts in this forum You can vote in polls in this forum
|
|
|
|
 |
|
|