Links from one site to many tables

  • Thread starter Moving rpts from Access to Rptg Services
  • Start date
M

Moving rpts from Access to Rptg Services

I have created an Access database containing site locations, employee
information table and 5 site surveys that has been imported to Front Page. I
need to have a dropdown populated with location codes that once chosen will
open the corresponding Survey1 and have links/buttons to the other 4 surveys
- and at opening will open the detail for that site.

I was able to do the first part (although the code would make a real
programmer shudder). I know there is a better way but need help to find it.
I hard-coded the data for each option in the dropdown and used a Go button to
go to open the first survey detail for that location. It works but it's not
the most efficient way to do this.

That's as far as I have been able to go. I'm not sure how to attempt
getting the GO button to also open the links to the detail info for the other
Surveys for the chosen location - on the same page.

Thanks - hope this made sense.

Karen
 
K

Kevin Spencer

Hi Karen,

Don't be too hard on yourself. Sounds like you've come a long way on your
own!

Here's a link to a tutorial that explains how to populate a drop-down from a
database query, using FrontPage (and a bit of hand-coding):

http://frontpagehowto.com/dynamicdrop/default.asp

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
A watched clock never boils.

"Moving rpts from Access to Rptg Services"
 
M

Moving rpts from Access to Rptg Services

Thank you. Will this be doable pulling the data from several interface.asp
search files I created, tying all back to the location codes:
first dropdown has location codes listed, the next has the interface files
(surveys) and then the survey data detail will show for the chosen location
code....the detail file is editable.

Karen
 
K

Kevin Spencer

Hi Karen,

Anything is doable. But I don't know what exactly you're doing, or more
accurately, how exactly you're doing it.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
A watched clock never boils.

"Moving rpts from Access to Rptg Services"
 
M

Moving rpts from Access to Rptg Services

I'm sorry - I'll state what I would like the results to be instead of how I
thought I might have to attack this:

I have several tables in an Access db that represent surveys to be completed
by the company sites. They are linked by a location code.

Upon opening the survey page, I have been asked to show a site location code
dropdown and after choosing a particular site and hitting "Go" the first
survey form, "Survey1" will open. I have created an Interface and a search
file for each table/survey. Each form allows editing as well as showing
existing data.

Back on the initial page, I need to have a link to the other surveys, and
upon clicking, Surveys2-4 will be visible and populated information that
applies to the location code chosen in the first dropdown.

Hope that makes more sense.

Thank you,

Karen
 
S

Stefan B Rusynko

You have still not defined (explained) what relationship location has to any of the 5 surveys (if any)
- and what information you are using from location in the surveys (some preset fields w/ values assigned based on location "code")

Are the 5 surveys unique to each location, or are you just using the same 5 surveys and tracking which location responded in each
survey in the results (adding data to the response saved to the survey from the location table "code" selected)


--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| I'm sorry - I'll state what I would like the results to be instead of how I
| thought I might have to attack this:
|
| I have several tables in an Access db that represent surveys to be completed
| by the company sites. They are linked by a location code.
|
| Upon opening the survey page, I have been asked to show a site location code
| dropdown and after choosing a particular site and hitting "Go" the first
| survey form, "Survey1" will open. I have created an Interface and a search
| file for each table/survey. Each form allows editing as well as showing
| existing data.
|
| Back on the initial page, I need to have a link to the other surveys, and
| upon clicking, Surveys2-4 will be visible and populated information that
| applies to the location code chosen in the first dropdown.
|
| Hope that makes more sense.
|
| Thank you,
|
| Karen
|
|
|
| "Kevin Spencer" wrote:
|
| > Hi Karen,
| >
| > Anything is doable. But I don't know what exactly you're doing, or more
| > accurately, how exactly you're doing it.
| >
| > --
| > HTH,
| >
| > Kevin Spencer
| > Microsoft MVP
| > ..Net Developer
| > A watched clock never boils.
| >
| > "Moving rpts from Access to Rptg Services"
| > message | > > Thank you. Will this be doable pulling the data from several
| > > interface.asp
| > > search files I created, tying all back to the location codes:
| > > first dropdown has location codes listed, the next has the interface files
| > > (surveys) and then the survey data detail will show for the chosen
| > > location
| > > code....the detail file is editable.
| > >
| > > Karen
| > >
| > > "Kevin Spencer" wrote:
| > >
| > >> Hi Karen,
| > >>
| > >> Don't be too hard on yourself. Sounds like you've come a long way on your
| > >> own!
| > >>
| > >> Here's a link to a tutorial that explains how to populate a drop-down
| > >> from a
| > >> database query, using FrontPage (and a bit of hand-coding):
| > >>
| > >> http://frontpagehowto.com/dynamicdrop/default.asp
| > >>
| > >> --
| > >> HTH,
| > >>
| > >> Kevin Spencer
| > >> Microsoft MVP
| > >> ..Net Developer
| > >> A watched clock never boils.
| > >>
| > >> "Moving rpts from Access to Rptg Services"
| > >> message | > >> >I have created an Access database containing site locations, employee
| > >> > information table and 5 site surveys that has been imported to Front
| > >> > Page. I
| > >> > need to have a dropdown populated with location codes that once chosen
| > >> > will
| > >> > open the corresponding Survey1 and have links/buttons to the other 4
| > >> > surveys
| > >> > - and at opening will open the detail for that site.
| > >> >
| > >> > I was able to do the first part (although the code would make a real
| > >> > programmer shudder). I know there is a better way but need help to
| > >> > find
| > >> > it.
| > >> > I hard-coded the data for each option in the dropdown and used a Go
| > >> > button
| > >> > to
| > >> > go to open the first survey detail for that location. It works but
| > >> > it's
| > >> > not
| > >> > the most efficient way to do this.
| > >> >
| > >> > That's as far as I have been able to go. I'm not sure how to attempt
| > >> > getting the GO button to also open the links to the detail info for the
| > >> > other
| > >> > Surveys for the chosen location - on the same page.
| > >> >
| > >> > Thanks - hope this made sense.
| > >> >
| > >> > Karen
| > >>
| > >>
| > >>
| >
| >
| >
 
M

Moving rpts from Access to Rptg Services

Thanks for sticking with me on this. I've been up all night trying to figure
this out.

Location code is a 5-digit alpha/num value unique to each of our sites (ex.
GA001).
An IT person will be responsible for filling out each survey and the
location code will be entered for each entry.

Every survey has the location code listed as a required field. Most likely,
all sites will have some information to enter on each survey but not
necessarily for every field. Some questions may have more than one answer so
there might be several rows listed for one site for one question i.e. names
of servers at that site.

The same 5 surveys will be sent to all sites and the data compiled and
reported against.

Thanks, again.

Karen

Stefan B Rusynko said:
You have still not defined (explained) what relationship location has to any of the 5 surveys (if any)
- and what information you are using from location in the surveys (some preset fields w/ values assigned based on location "code")

Are the 5 surveys unique to each location, or are you just using the same 5 surveys and tracking which location responded in each
survey in the results (adding data to the response saved to the survey from the location table "code" selected)


--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| I'm sorry - I'll state what I would like the results to be instead of how I
| thought I might have to attack this:
|
| I have several tables in an Access db that represent surveys to be completed
| by the company sites. They are linked by a location code.
|
| Upon opening the survey page, I have been asked to show a site location code
| dropdown and after choosing a particular site and hitting "Go" the first
| survey form, "Survey1" will open. I have created an Interface and a search
| file for each table/survey. Each form allows editing as well as showing
| existing data.
|
| Back on the initial page, I need to have a link to the other surveys, and
| upon clicking, Surveys2-4 will be visible and populated information that
| applies to the location code chosen in the first dropdown.
|
| Hope that makes more sense.
|
| Thank you,
|
| Karen
|
|
|
| "Kevin Spencer" wrote:
|
| > Hi Karen,
| >
| > Anything is doable. But I don't know what exactly you're doing, or more
| > accurately, how exactly you're doing it.
| >
| > --
| > HTH,
| >
| > Kevin Spencer
| > Microsoft MVP
| > ..Net Developer
| > A watched clock never boils.
| >
| > "Moving rpts from Access to Rptg Services"
| > message | > > Thank you. Will this be doable pulling the data from several
| > > interface.asp
| > > search files I created, tying all back to the location codes:
| > > first dropdown has location codes listed, the next has the interface files
| > > (surveys) and then the survey data detail will show for the chosen
| > > location
| > > code....the detail file is editable.
| > >
| > > Karen
| > >
| > > "Kevin Spencer" wrote:
| > >
| > >> Hi Karen,
| > >>
| > >> Don't be too hard on yourself. Sounds like you've come a long way on your
| > >> own!
| > >>
| > >> Here's a link to a tutorial that explains how to populate a drop-down
| > >> from a
| > >> database query, using FrontPage (and a bit of hand-coding):
| > >>
| > >> http://frontpagehowto.com/dynamicdrop/default.asp
| > >>
| > >> --
| > >> HTH,
| > >>
| > >> Kevin Spencer
| > >> Microsoft MVP
| > >> ..Net Developer
| > >> A watched clock never boils.
| > >>
| > >> "Moving rpts from Access to Rptg Services"
| > >> message | > >> >I have created an Access database containing site locations, employee
| > >> > information table and 5 site surveys that has been imported to Front
| > >> > Page. I
| > >> > need to have a dropdown populated with location codes that once chosen
| > >> > will
| > >> > open the corresponding Survey1 and have links/buttons to the other 4
| > >> > surveys
| > >> > - and at opening will open the detail for that site.
| > >> >
| > >> > I was able to do the first part (although the code would make a real
| > >> > programmer shudder). I know there is a better way but need help to
| > >> > find
| > >> > it.
| > >> > I hard-coded the data for each option in the dropdown and used a Go
| > >> > button
| > >> > to
| > >> > go to open the first survey detail for that location. It works but
| > >> > it's
| > >> > not
| > >> > the most efficient way to do this.
| > >> >
| > >> > That's as far as I have been able to go. I'm not sure how to attempt
| > >> > getting the GO button to also open the links to the detail info for the
| > >> > other
| > >> > Surveys for the chosen location - on the same page.
| > >> >
| > >> > Thanks - hope this made sense.
| > >> >
| > >> > Karen
| > >>
| > >>
| > >>
| >
| >
| >
 
S

Stefan B Rusynko

So why are you making it so complex?

Have them go to a form and select a location
- takes them to a page to select a survey to fill out (any one of the 5 surveys)
Save the location selected as a session variable (or pass if from form to form as a hidden form field variable)
In each survey result record the session variable for the location selected
- or if other data is required from location table open that table (based on location ID) and get the field data to add to the form
as hidden form fields

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Thanks for sticking with me on this. I've been up all night trying to figure
| this out.
|
| Location code is a 5-digit alpha/num value unique to each of our sites (ex.
| GA001).
| An IT person will be responsible for filling out each survey and the
| location code will be entered for each entry.
|
| Every survey has the location code listed as a required field. Most likely,
| all sites will have some information to enter on each survey but not
| necessarily for every field. Some questions may have more than one answer so
| there might be several rows listed for one site for one question i.e. names
| of servers at that site.
|
| The same 5 surveys will be sent to all sites and the data compiled and
| reported against.
|
| Thanks, again.
|
| Karen
|
| "Stefan B Rusynko" wrote:
|
| > You have still not defined (explained) what relationship location has to any of the 5 surveys (if any)
| > - and what information you are using from location in the surveys (some preset fields w/ values assigned based on location
"code")
| >
| > Are the 5 surveys unique to each location, or are you just using the same 5 surveys and tracking which location responded in
each
| > survey in the results (adding data to the response saved to the survey from the location table "code" selected)
| >
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
| > _____________________________________________
| >
| >
| > | > | I'm sorry - I'll state what I would like the results to be instead of how I
| > | thought I might have to attack this:
| > |
| > | I have several tables in an Access db that represent surveys to be completed
| > | by the company sites. They are linked by a location code.
| > |
| > | Upon opening the survey page, I have been asked to show a site location code
| > | dropdown and after choosing a particular site and hitting "Go" the first
| > | survey form, "Survey1" will open. I have created an Interface and a search
| > | file for each table/survey. Each form allows editing as well as showing
| > | existing data.
| > |
| > | Back on the initial page, I need to have a link to the other surveys, and
| > | upon clicking, Surveys2-4 will be visible and populated information that
| > | applies to the location code chosen in the first dropdown.
| > |
| > | Hope that makes more sense.
| > |
| > | Thank you,
| > |
| > | Karen
| > |
| > |
| > |
| > | "Kevin Spencer" wrote:
| > |
| > | > Hi Karen,
| > | >
| > | > Anything is doable. But I don't know what exactly you're doing, or more
| > | > accurately, how exactly you're doing it.
| > | >
| > | > --
| > | > HTH,
| > | >
| > | > Kevin Spencer
| > | > Microsoft MVP
| > | > ..Net Developer
| > | > A watched clock never boils.
| > | >
| > | > "Moving rpts from Access to Rptg Services"
| > | > message | > | > > Thank you. Will this be doable pulling the data from several
| > | > > interface.asp
| > | > > search files I created, tying all back to the location codes:
| > | > > first dropdown has location codes listed, the next has the interface files
| > | > > (surveys) and then the survey data detail will show for the chosen
| > | > > location
| > | > > code....the detail file is editable.
| > | > >
| > | > > Karen
| > | > >
| > | > > "Kevin Spencer" wrote:
| > | > >
| > | > >> Hi Karen,
| > | > >>
| > | > >> Don't be too hard on yourself. Sounds like you've come a long way on your
| > | > >> own!
| > | > >>
| > | > >> Here's a link to a tutorial that explains how to populate a drop-down
| > | > >> from a
| > | > >> database query, using FrontPage (and a bit of hand-coding):
| > | > >>
| > | > >> http://frontpagehowto.com/dynamicdrop/default.asp
| > | > >>
| > | > >> --
| > | > >> HTH,
| > | > >>
| > | > >> Kevin Spencer
| > | > >> Microsoft MVP
| > | > >> ..Net Developer
| > | > >> A watched clock never boils.
| > | > >>
| > | > >> "Moving rpts from Access to Rptg Services"
| > | > >> message | > | > >> >I have created an Access database containing site locations, employee
| > | > >> > information table and 5 site surveys that has been imported to Front
| > | > >> > Page. I
| > | > >> > need to have a dropdown populated with location codes that once chosen
| > | > >> > will
| > | > >> > open the corresponding Survey1 and have links/buttons to the other 4
| > | > >> > surveys
| > | > >> > - and at opening will open the detail for that site.
| > | > >> >
| > | > >> > I was able to do the first part (although the code would make a real
| > | > >> > programmer shudder). I know there is a better way but need help to
| > | > >> > find
| > | > >> > it.
| > | > >> > I hard-coded the data for each option in the dropdown and used a Go
| > | > >> > button
| > | > >> > to
| > | > >> > go to open the first survey detail for that location. It works but
| > | > >> > it's
| > | > >> > not
| > | > >> > the most efficient way to do this.
| > | > >> >
| > | > >> > That's as far as I have been able to go. I'm not sure how to attempt
| > | > >> > getting the GO button to also open the links to the detail info for the
| > | > >> > other
| > | > >> > Surveys for the chosen location - on the same page.
| > | > >> >
| > | > >> > Thanks - hope this made sense.
| > | > >> >
| > | > >> > Karen
| > | > >>
| > | > >>
| > | > >>
| > | >
| > | >
| > | >
| >
| >
| >
 
K

Kevin Spencer

Let me see if I can re-state your requirements, in order to make sure that I
understand them.

1. You have a database with several tables that are related to each other
via a single column "location code."
2. Each of these tables is not related in a parent-child relationship to any
other table, but only to the "location code." That is, each represents a
different set of data pertaining to a "location."
3. You want to initialize a work flow by having a user select a "location
code" from a drop-down list box that is populated by a query to a table
containing "location codes."
4. Now here it gets a little fuzzy. It sounds like you want the user to be
able to (a) page through different pages containing data relating to the
same "location code," and (b) be able t re-select a different "location
code" from any of these pages.

One final question: It also sounds like you want the user to be able to
either create new records, edit and update existing records, and/or what
else?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
A watched clock never boils.

"Moving rpts from Access to Rptg Services"
 
M

Moving rpts from Access to Rptg Services

All is correct except for 4b. All choices for location code will come from
the first dropdown.

Thanks,

Karen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top