Report Writer Queries - Company / User / P & L

OK, I think I have this nailed now. Since I've never seen an explanation
here before I'll describe it in case anyone is interested.

1. Starting with the table _MyConnection I link to _Connect (alias name
Connect) via _MyConn-PID--->_Connect-PID
2. Link Connect to UserFile via Connect-Name----> DcdUserID
3. Link (for testing purposes) UserFile to OrderHed via CurComp----->
Company (or use whatever master file you would have used for the report).

At this point the fields Connect._Connect-Name and UserFile.CurComp are
available for the report header which will show the user running the report
and the company they logged into in Vantage. NOTE!!! This might not be the
current company they are using. For some reason when you change company on
the fly (via Options) it does not re-set CurComp. If you change company and
also change user, even to yourself, it does re-set the current company in
UserFile. I wrote a little test program for the above and it works fine and
shows UserID in header and selects only current company records.

A thought occurred to me that an easier way to get the current company on a
header (but not automatic filter for it) might be just to display the
Company field from any table in the report. This would show just the
company in use. But if you also need UserID then you have to link via
company (only common field to all the other Vantage tables) and this would
create a de facto filter on whatever company is currently in
UserFile.CurComp thus you would need a user procedure so that every time a
user changes company from within Vantage they also change user (even to
themselves) and log-in again.

Note: Changing the Master Table in an existing report to _MyConnection then
changing all the other tables would be near impossible. So this would be
for new reports only but it could still be useful.

-Todd Caughey
Harvey Vogel Mfg. Co.


[Non-text portions of this message have been removed]
Can anyone please help me with the following queries?

1. Is there a way in Report Writer to specify that this report is to
be produced for the company the user is currently in? If I use a
filter, the company must be manually entered (unless the user wants
the default company).

2. Is there a way to determine which user is currently in the system
so this can appear on the report (like the Vantage Reports).

3. Is there also a way to look at the Vantage Reports - as I have to
create our own Profit and Loss (Statement of Operations and Earnings)
which will be very similar to the Vantage supplied report but I need
some different columns along with some calculated fields.

We are currently working on 5.1 with Progress 9.1C but are in the
process of migrating to 5.2 with 9.1D

Regards

Wendy
A long shot (meaning I have not tried this, even on 4,.0) but in 5.20 (and
earlier) the table UserFile contains the field CurComp which is the current
or last company logged into by the user. As for who the user is, in 4.0
there were a bunch of tables in the Data Dictionary that started with
underscore '_' and the table _MyConnection had the process ID of the current
user and linking that to _Connect (had to use alias name without the
underscore) obtained the UserID. So in theory you could start with
_MyConnection at the top of the linking and work down to UserFile where you
could then link CurComp to the "top" table (via just the company ID) and
then build your report links. This way you could get the company (and
automatically via linking filter for it) and the username.

The problem now is that all the _xxxx files are gone from the RB table
selection (as of 5.20 anyway) so (at least for now) I can not find
_MyConnection and _Connect anywhere. They were not in the previous printed
Data Dictionary but they did show in the table selections in RB. Perhaps
they have been renamed or maybe there were security issues, in which case I
would have liked to have had the option to weigh the usefulness against
whatever security risk. So the bottom line is there was a "maybe" way in
4.0 but it looks like it is gone now and maybe not available at all. If
someone else knows what happenend to the missing tables maybe that could
re-open this avenue.

-Todd C.

-----Original Message-----
From: hufcorjw [mailto:john.w@...]
Sent: Monday, October 14, 2002 10:48 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Report Writer Queries - Company / User / P & L


Can anyone please help me with the following queries?

1. Is there a way in Report Writer to specify that this report is to
be produced for the company the user is currently in? If I use a
filter, the company must be manually entered (unless the user wants
the default company).

2. Is there a way to determine which user is currently in the system
so this can appear on the report (like the Vantage Reports).

3. Is there also a way to look at the Vantage Reports - as I have to
create our own Profit and Loss (Statement of Operations and Earnings)
which will be very similar to the Vantage supplied report but I need
some different columns along with some calculated fields.

We are currently working on 5.1 with Progress 9.1C but are in the
process of migrating to 5.2 with 9.1D

Regards

Wendy




Yahoo! Groups Sponsor

ADVERTISEMENT

<http://rd.yahoo.com/M=234050.2482567.3895507.2225242/D=egroupweb/S=17050071
83:HM/A=1274244/R=0/*http://webevents.broadcast.com/universal/8mile>

<http://us.adserver.yahoo.com/l?M=234050.2482567.3895507.2225242/D=egroupmai
l/S=:HM/A=1274244/rand=491793092>

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
<http://groups.yahoo.com/group/vantage/files/.>
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
<http://groups.yahoo.com/group/vantage/messages>
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
<http://groups.yahoo.com/group/vantage/links>

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .




[Non-text portions of this message have been removed]
At 09:11 AM 10/15/2002 -0500, you wrote:
>The problem now is that all the _xxxx files are gone from the RB table
>selection (as of 5.20 anyway) so (at least for now) I can not find
>_MyConnection and _Connect anywhere. They were not in the previous printed

It might just be that your preferences were lost with the new Report
Builder. Look under the View menu and see if "Show Hidden Tables" is checked.

-Wayne Cox
Twenty Three -- Information Technology Consulting
828-685-2338



[Non-text portions of this message have been removed]
Todd,

In Report Builder select the "VIEW" pull down menu and CHECK "Show Hidden
Tables"

Patrick

-----Original Message-----
From: Todd Caughey [mailto:caugheyt@...]
Sent: Tuesday, October 15, 2002 9:11 AM
To: 'vantage@yahoogroups.com'
Subject: RE: [Vantage] Report Writer Queries - Company / User / P & L


A long shot (meaning I have not tried this, even on 4,.0) but in 5.20 (and
earlier) the table UserFile contains the field CurComp which is the current
or last company logged into by the user. As for who the user is, in 4.0
there were a bunch of tables in the Data Dictionary that started with
underscore '_' and the table _MyConnection had the process ID of the current
user and linking that to _Connect (had to use alias name without the
underscore) obtained the UserID. So in theory you could start with
_MyConnection at the top of the linking and work down to UserFile where you
could then link CurComp to the "top" table (via just the company ID) and
then build your report links. This way you could get the company (and
automatically via linking filter for it) and the username.

The problem now is that all the _xxxx files are gone from the RB table
selection (as of 5.20 anyway) so (at least for now) I can not find
_MyConnection and _Connect anywhere. They were not in the previous printed
Data Dictionary but they did show in the table selections in RB. Perhaps
they have been renamed or maybe there were security issues, in which case I
would have liked to have had the option to weigh the usefulness against
whatever security risk. So the bottom line is there was a "maybe" way in
4.0 but it looks like it is gone now and maybe not available at all. If
someone else knows what happenend to the missing tables maybe that could
re-open this avenue.

-Todd C.

-----Original Message-----
From: hufcorjw [mailto:john.w@...]
Sent: Monday, October 14, 2002 10:48 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Report Writer Queries - Company / User / P & L


Can anyone please help me with the following queries?

1. Is there a way in Report Writer to specify that this report is to
be produced for the company the user is currently in? If I use a
filter, the company must be manually entered (unless the user wants
the default company).

2. Is there a way to determine which user is currently in the system
so this can appear on the report (like the Vantage Reports).

3. Is there also a way to look at the Vantage Reports - as I have to
create our own Profit and Loss (Statement of Operations and Earnings)
which will be very similar to the Vantage supplied report but I need
some different columns along with some calculated fields.

We are currently working on 5.1 with Progress 9.1C but are in the
process of migrating to 5.2 with 9.1D

Regards

Wendy




Yahoo! Groups Sponsor

ADVERTISEMENT

<http://rd.yahoo.com/M=234050.2482567.3895507.2225242/D=egroupweb/S=17050071
83:HM/A=1274244/R=0/*http://webevents.broadcast.com/universal/8mile>

<http://us.adserver.yahoo.com/l?M=234050.2482567.3895507.2225242/D=egroupmai
l/S=:HM/A=1274244/rand=491793092>

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
<http://groups.yahoo.com/group/vantage/files/.>
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
<http://groups.yahoo.com/group/vantage/messages>
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
<http://groups.yahoo.com/group/vantage/links>

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .




[Non-text portions of this message have been removed]



Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Yee ha!!! Ready to rock now. Thanks.
-Todd

-----Original Message-----
From: Winter, Patrick [mailto:pjw@...]
Sent: Tuesday, October 15, 2002 9:41 AM
To: 'vantage@yahoogroups.com'
Subject: RE: [Vantage] Report Writer Queries - Company / User / P & L


Todd,

In Report Builder select the "VIEW" pull down menu and CHECK "Show Hidden
Tables"

Patrick

-----Original Message-----
From: Todd Caughey [mailto:caugheyt@...]
Sent: Tuesday, October 15, 2002 9:11 AM
To: 'vantage@yahoogroups.com'
Subject: RE: [Vantage] Report Writer Queries - Company / User / P & L


A long shot (meaning I have not tried this, even on 4,.0) but in 5.20 (and
earlier) the table UserFile contains the field CurComp which is the current
or last company logged into by the user. As for who the user is, in 4.0
there were a bunch of tables in the Data Dictionary that started with
underscore '_' and the table _MyConnection had the process ID of the current
user and linking that to _Connect (had to use alias name without the
underscore) obtained the UserID. So in theory you could start with
_MyConnection at the top of the linking and work down to UserFile where you
could then link CurComp to the "top" table (via just the company ID) and
then build your report links. This way you could get the company (and
automatically via linking filter for it) and the username.

The problem now is that all the _xxxx files are gone from the RB table
selection (as of 5.20 anyway) so (at least for now) I can not find
_MyConnection and _Connect anywhere. They were not in the previous printed
Data Dictionary but they did show in the table selections in RB. Perhaps
they have been renamed or maybe there were security issues, in which case I
would have liked to have had the option to weigh the usefulness against
whatever security risk. So the bottom line is there was a "maybe" way in
4.0 but it looks like it is gone now and maybe not available at all. If
someone else knows what happenend to the missing tables maybe that could
re-open this avenue.

-Todd C.

-----Original Message-----
From: hufcorjw [mailto:john.w@...]
Sent: Monday, October 14, 2002 10:48 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Report Writer Queries - Company / User / P & L


Can anyone please help me with the following queries?

1. Is there a way in Report Writer to specify that this report is to
be produced for the company the user is currently in? If I use a
filter, the company must be manually entered (unless the user wants
the default company).

2. Is there a way to determine which user is currently in the system
so this can appear on the report (like the Vantage Reports).

3. Is there also a way to look at the Vantage Reports - as I have to
create our own Profit and Loss (Statement of Operations and Earnings)
which will be very similar to the Vantage supplied report but I need
some different columns along with some calculated fields.

We are currently working on 5.1 with Progress 9.1C but are in the
process of migrating to 5.2 with 9.1D

Regards

Wendy




Yahoo! Groups Sponsor

ADVERTISEMENT

<
http://rd.yahoo.com/M=234050.2482567.3895507.2225242/D=egroupweb/S=17050071
<http://rd.yahoo.com/M=234050.2482567.3895507.2225242/D=egroupweb/S=17050071
>
83:HM/A=1274244/R=0/* http://webevents.broadcast.com/universal/8mile
<http://webevents.broadcast.com/universal/8mile> >

<
http://us.adserver.yahoo.com/l?M=234050.2482567.3895507.2225242/D=egroupmai
<http://us.adserver.yahoo.com/l?M=234050.2482567.3895507.2225242/D=egroupmai
>
l/S=:HM/A=1274244/rand=491793092>

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
<http://groups.yahoo.com/group/vantage/files/.>
< http://groups.yahoo.com/group/vantage/files/.
<http://groups.yahoo.com/group/vantage/files/.> >
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
<http://groups.yahoo.com/group/vantage/messages>
< http://groups.yahoo.com/group/vantage/messages
<http://groups.yahoo.com/group/vantage/messages> >
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
<http://groups.yahoo.com/group/vantage/links>
< http://groups.yahoo.com/group/vantage/links
<http://groups.yahoo.com/group/vantage/links> >

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
< http://docs.yahoo.com/info/terms/ <http://docs.yahoo.com/info/terms/> > .




[Non-text portions of this message have been removed]



Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
<http://groups.yahoo.com/group/vantage/files/.>
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
<http://groups.yahoo.com/group/vantage/messages>
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
<http://groups.yahoo.com/group/vantage/links>

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
<http://docs.yahoo.com/info/terms/>



Yahoo! Groups Sponsor

ADVERTISEMENT

<http://rd.yahoo.com/M=234050.2482567.3895507.2273195/D=egroupweb/S=17050071
83:HM/A=1274244/R=0/*http://webevents.broadcast.com/universal/8mile>

<http://us.adserver.yahoo.com/l?M=234050.2482567.3895507.2273195/D=egroupmai
l/S=:HM/A=1274244/rand=662252059>

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
<http://groups.yahoo.com/group/vantage/files/.>
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
<http://groups.yahoo.com/group/vantage/messages>
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
<http://groups.yahoo.com/group/vantage/links>





[Non-text portions of this message have been removed]
Thanks too. Yes, anyother little gotcha converting from 4.0 to 5.20 -- all
my RB settings (font, size, locations, etc...) went away. One more thing to
attend to when converting. Funny though I don't recall ever knowing about
hidden tables to have set to show them in the first place.
-Todd

-----Original Message-----
From: Wayne Cox [mailto:wmc20@...]
Sent: Tuesday, October 15, 2002 9:41 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Report Writer Queries - Company / User / P & L


At 09:11 AM 10/15/2002 -0500, you wrote:
>The problem now is that all the _xxxx files are gone from the RB table
>selection (as of 5.20 anyway) so (at least for now) I can not find
>_MyConnection and _Connect anywhere. They were not in the previous printed

It might just be that your preferences were lost with the new Report
Builder. Look under the View menu and see if "Show Hidden Tables" is
checked.

-Wayne Cox
Twenty Three -- Information Technology Consulting
828-685-2338



[Non-text portions of this message have been removed]



Yahoo! Groups Sponsor

ADVERTISEMENT

<http://rd.yahoo.com/M=234050.2482567.3895507.2273195/D=egroupweb/S=17050071
83:HM/A=1274244/R=0/*http://webevents.broadcast.com/universal/8mile>

<http://us.adserver.yahoo.com/l?M=234050.2482567.3895507.2273195/D=egroupmai
l/S=:HM/A=1274244/rand=971631139>

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
<http://groups.yahoo.com/group/vantage/files/.>
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
<http://groups.yahoo.com/group/vantage/messages>
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
<http://groups.yahoo.com/group/vantage/links>

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .




[Non-text portions of this message have been removed]