dbTalk Databases Forums  

GPV in report designer, data model

comp.databases.paradox comp.databases.paradox


Discuss GPV in report designer, data model in the comp.databases.paradox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jim Moseley
 
Posts: n/a

Default GPV in report designer, data model - 01-29-2008 , 10:23 PM







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.

Reply With Quote
  #2  
Old   
Bertil Isberg
 
Posts: n/a

Default Re: GPV in report designer, data model - 01-30-2008 , 12:01 PM






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" <jmose (AT) mapson (DOT) attglobal.net> skrev i meddelandet
news:479ffba6$1 (AT) pnews (DOT) thedbcommunity.com...
Quote:
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.



Reply With Quote
  #3  
Old   
Bertil Isberg
 
Posts: n/a

Default Re: GPV in report designer, data model - 01-30-2008 , 12:01 PM



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" <jmose (AT) mapson (DOT) attglobal.net> skrev i meddelandet
news:479ffba6$1 (AT) pnews (DOT) thedbcommunity.com...
Quote:
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.



Reply With Quote
  #4  
Old   
Bertil Isberg
 
Posts: n/a

Default Re: GPV in report designer, data model - 01-30-2008 , 12:01 PM



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" <jmose (AT) mapson (DOT) attglobal.net> skrev i meddelandet
news:479ffba6$1 (AT) pnews (DOT) thedbcommunity.com...
Quote:
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.



Reply With Quote
  #5  
Old   
Bertil Isberg
 
Posts: n/a

Default Re: GPV in report designer, data model - 01-30-2008 , 12:01 PM



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" <jmose (AT) mapson (DOT) attglobal.net> skrev i meddelandet
news:479ffba6$1 (AT) pnews (DOT) thedbcommunity.com...
Quote:
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.



Reply With Quote
  #6  
Old   
Bertil Isberg
 
Posts: n/a

Default Re: GPV in report designer, data model - 01-30-2008 , 12:01 PM



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" <jmose (AT) mapson (DOT) attglobal.net> skrev i meddelandet
news:479ffba6$1 (AT) pnews (DOT) thedbcommunity.com...
Quote:
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.



Reply With Quote
  #7  
Old   
Bertil Isberg
 
Posts: n/a

Default Re: GPV in report designer, data model - 01-30-2008 , 12:01 PM



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" <jmose (AT) mapson (DOT) attglobal.net> skrev i meddelandet
news:479ffba6$1 (AT) pnews (DOT) thedbcommunity.com...
Quote:
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.



Reply With Quote
  #8  
Old   
Bertil Isberg
 
Posts: n/a

Default Re: GPV in report designer, data model - 01-30-2008 , 12:01 PM



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" <jmose (AT) mapson (DOT) attglobal.net> skrev i meddelandet
news:479ffba6$1 (AT) pnews (DOT) thedbcommunity.com...
Quote:
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.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.