Chaining Parent/Child Relationships

I have a cross-reference table already set up that contains the information about programs that run in our database. It contains the program name, the tables used as inputs and the tables used as outputs. There is a row for each input to a program and a row for each output from a program. Code:

View Replies


ADVERTISEMENT

Parent And Child Folders....

I have one asp file including another asp file in a seperate folder. The file of the parent is in a read only, but the child is in a write and read file. If i run the child alone you can write with it no problems, but if i try to write with it calling it through the parent it tells me that permission are denied.

So my question is: are file permissions inhereted by the child from the parent? Is there any way of getting around this besides moving the parent into the same folder as the child?

View Replies View Related

Parent And Child Windows

i have 2 asp pages. the parent and the child. the parent has has a value doc_id which is null. and a button to open the child window. it has other variables and input fields.

the child window creates the doc_id.

Now heres the problem. I want to close the child window, and send the doc_id(created in the child) to the doc_id(in the parent). and close the child window.

But keep the original variables in the parent id. (e.g if the user entered their name in the parent window, then opened the child window, then created the doc_id, then closed the child window, i want to parent to have the user name, and the new doc_id)

View Replies View Related

Parent - Child - Submit - Reply

I am trying to redirect back to a child form after a submit with a file upload and verification of file data. I would like to go back to the form and display a message returning the status of the data. Is that possible? Any suggestions on an alternate? I am using classic ASP, javascript and vbscript.

View Replies View Related

Pass Value From Child To Parent Window!

I have a page which had a text box.

When a user clicks in the text box, by using the onclick event, i am opening a popupwindow with a list box. Now when the user selects a value in this list box, i want to pass that value to the parent window and populate the parent textbox.

View Replies View Related

Parent-Child Form Menus

I have two menu form elements that need to refelect a parent child relationship. There are 85 zones and 2200 zone-network combinations.

I want to bind the networkid element to an xml datasource that contains only the networks related to that zone. I have read about something like this before but have never implemented it.

create table tblZone ( zoneid int, zonename varchar(20))
create table tblNetwork ( networkid int, zoneid int, networkname varchar(20))

<select name="zoneid" onChange="reloadNetworks()">...</select>

<select name="networkid">...</select>

View Replies View Related

Parent-Child Dropdown Boxes

I have two dropdown boxes, one is a state dropdown (statedrpdwn) and the other is a city dropdown (citydrpdwn). I want the values in the citydrpdwn to be dependent on what is selected in the statedrpdwn.

So when the user selects a state, I want the city drpdwn to only display the cities in that state. How can I do that? I also need to save this information to a database and retrieve it back correctly from the database. How can I do that?

View Replies View Related

Parent And Child Relationship On Sql Server

(I include a bmp file to make sure u all understand what my problem is)..as U all can see from the bmp I supply with this message.. I got 2 Table which is Master and Child table...the problem is I kindda want to make it like a Parent Child Relationship like In ms Access.

View Replies View Related

Parent Window Refresh When Child Is Closed

I have an asp page (parent) which opens a new window (child) with "window.open()". What i want is, when the child window is closed with "self.close()" then the parent window has to be refreshed. Any of you guys know how to do this?

View Replies View Related

Refresh Parent Page From Child Page

This is my coding:

window.opener.location.reload(); window.close();

I don't want the IE to pop up the alert msg to false retry or cancel to reload the page.

I have tried:

1. window.opener.location = window.opener.location
2. window.opener.history.go(0)

But as i carry some data from previous previous page, when i use (window.opener.location = window.opener.location), it can't capture my data as it just load the page. It will pop up error as no data captured :

Microsoft VBScript runtime error '800a000d'
Type mismatch: '[string: ""]'

Any suggestion?

View Replies View Related

Parent To Form To Asp Page To Parent

i have a form that pops up based on a click. the popup opens up correctly.
now what i want it to do is this.

1. submit the data to an asp page. that part i got working
2. close the popup box. have that working as well.
3. after processing the data on the asp page, direct to and refresh the
parent page that the popup was created from.

to be more specific....

i have a bracket page, where you click on the winners name to move them
over. works fine. that sends variables to a pop up box, where you enter a
score. that works fine. now when i submit, it only sneds the data to the asp
page, and even though the bottom of the asp page redirects it to the parent
page, it doesn't. it seems like it is trying to redirect to the popup that
doesn't exist anymore, so it does nothing.

View Replies View Related

Relationships

Im having trouble with the relationships for my access db, which i will be using for asp. Ive gone through many tutorials, yet they all keep their db quite simple. I find mine quite complex, so its hard to adapt to them.

Im just wondering if im on the right track or not, cause I have a feeling its completely wrong. The database is used as follows:

The database is use for a training module, users access the training module, and the content is derived from db. There are topics, subtopics, and an assessment area, which is used to test users on their knowledge.

View Replies View Related

Table Relationships

how to use related tables in a database, how to retrieve data and how to insert data.

I have one MS access database with two tables. One table contains info about authors and the other contains articles. The relationship between the tables is many to many, that is one article can have many authors and one author can have many articles.

I plan on having a web form where I have the articles written and through the form I need to submit what authors ar related to that article.

What I need help with is how I use the form to connect authors and articles in the database and also how to retrieve the same information to publish on my site using ASP.

View Replies View Related

Field Relationships

I'm trying to build a sort of datagrid control by which i wish to
edit/delete/update data in a table.
Since I'm using foreign-keys for normalizing data in the db I need, when I
add or update data, to display those foreign-keys ID in a user-friendly
manner such as a combobox with values = FK and visible text = Value of the
description field in the related table. Is it enough clear 'till this point?
So I need to detect if a field in a table is related to another field in
another table (i seldom use self-joins, so maybe that would be a limit of my
control but I don't care about that).
Do I have to refer to the Recordset's object OpenSchema method or there's a
better/simpler way to do it?
OT P.S (Off-topic post scriptum.Do you have any suggestions or
advices on companies that work with MS technologies and might be interested
in an ASP/MS Access (included all MS Access non database specific stuff such
as Forms, VBA, Reports) developer with 2 years experience.

View Replies View Related

Accessing Relationships

Is it possible to access the relationship information from an ASP program? I'd like to be able to traverse the relationship tree of a .mdb file on my server from ASP/javascript code.

View Replies View Related

Need To Set Access Relationships When Using ASP?

When building an Access db to be accessed by ASP, do I need to worry
about setting the Relationships between the tables and the Join Types
(one to many ,etc.), or can I just rely on declaring the relationships
in my SQL statements?

How about the setting for Referential Integrity. Should I ever have to
worry about having Access enforce those, including update and deleted
related records?

I have never bothered with setting the relationships in the couple of
simple databases I've built for ASP. But I always wonder if I should
do that.

View Replies View Related

MS-Access Relationships

Is it possible to access the relationship information from an ASP program? I'd like to be able to traverse the relationship tree of a .mdb file on my server from ASP/javascript code.

View Replies View Related

Relationships ACCESS ASP

can i do this :

rs.Open "SELECT * FROM files WHERE uid ="& getuid , Connect, 2, 3

Even that uid is not a field on files, it is a field on another table related to files..Called Shares.

View Replies View Related

Getting Child Nodes By Name With MS XML Parser

I am trying to port PRAX (PHP Record-oriented API for XML) to ASP and have run into a problem. With Microsoft's XML Parser, to get child nodes, the only way I have seen is by calling on obj.childNodes(1). I need to get a child node by name, not by number, since it could be in any order. Is there a way?

If not, I will have to write that part of the code differently by using an array. I don't want to do this because it would make the code more memory intensive and not as powerful as the PRAX implementation.

View Replies View Related

Closing Child Window

I have a submit button which opens a child window,and submit parent window to itself and then begins some processing on parent window. On completion there appears close button on parent page.

Can anybody suggest me how to close the child window on the click of close button on parent window and then redirect to other page?

View Replies View Related

Problem Creating Child Nodes

I am trying to dynamically create an xml file. I can make child nodes, but no grand-child nodes ( i dont know if thats proper terminology )

What I Have:

'-------------------------------------------------------
Set objDom = Server.CreateObject("Microsoft.XMLDOM")

Set objRoot = objDom.createElement("Articles")
objDom.appendChild objRoot

Set objChild1 = objDom.createElement("Article1")
objRoot.appendChild objChild1

Set objChild2 = objDom.createElement("Article2")
objRoot.appendChild objChild2

Set objChild3 = objDom.createElement("Article3")
objRoot.appendChild objChild3

Set objPI = objDom.createProcessingInstruction("xml","version='1.0'")

objDom.insertBefore objPI, objDom.childNodes(0)
objDom.Save "c:MyXMLDoc.xml"
'-------------------------------------------------------

What I would like to do, is have each article have nodes : Title, Score, Age

When i try, I get error: Cant have more the one top level element.

View Replies View Related

ASP Update XML Child Nodes By Attribute Condition

I am trying to update and append to an existing XML file. However I seem to be stuck. I am using ASP as my scripting language.

The form fields has the same value as the KEY attribute so all i have to do is loop through the submiting form for its fields and use the name to update the XML via the keys... Code:

View Replies View Related

Popup Parent

i have an aspx page. on that page there is a link that open a new popup page. Popup page contain some text fields. user fills that fields and press OK. By clicking OK I append the textbox values in the DataTable, which is already saved in the session
My Problem is that when that popup windows closes by clicking Ok i want to show that new information in datagrid on the parent page(which opened the popup page[window.open]). i have info in the session, but problem is that when i bind datagrid by using the session Datatable on the parent page.

View Replies View Related

Parent Paths

If I've enabled Parent Paths (PP) in IIS, but have installed the URL Filter
and disallowed ".." and "../" within links, am I covered from the
vulnerabilities of PP's?

This allows me to use PP's in #Include statements, but doesn't allow
visitors to use PP's in their links to access directories on my server.

Is this correct?

View Replies View Related

Indicate The Parent Directory

I have a software that has generated a code for me, not sure if I'm allowed to give out names of other companies on here so i won't for now. anyways, the code has worked for a long time on my server just fine. Until I got a new server, same operating system and everything, i just cut and paste everything over from the old server to the new one. But for some reason now one of my sites will not let me use ".." in my code.

<!--include file=../2020applicationsconnections.asp-->

I would just place the "2020applicationsconnections.asp" file in the folder my current file is in, but then that messes up all the the linking that the "2020applicationsconnections.asp" file had in it. So is there any phrase, symbol, ect. that i should use to indicate a parent directory in this code? or is there some setting i need to change on my server that was set up on my old one.

View Replies View Related

Refresh Parent From Frame

I have a page(1) inside a frameset. The frameset opens from another page(2). I want when I change something on page 1(inside the frameset), the page 1 to be reloaded.

View Replies View Related

Refresh Parent Window

I have a popup from the parent window which allwos the user to add in new location. when the lcoation has been added succesfully. then thewindow closes and the parent gets refreshed. In particular, just the location listbox gets updated with the new value. the location listbox i generated from the database using asp.

View Replies View Related

Server.mappath() Parent

How to use server.mappath() parent folder correctly:

Server.MapPath("../test.asp")

View Replies View Related

Writing URL In Parent Frame

What do I need to do to write the URLs of the two identical iFrames in the textarea of the parent frame? Well, the iFrames are the same asp file, but the three listboxes in each iFrame make their URLs different. The problem is that upon selecting both iFrames listboxes, the 2nd iFrame cancels out the URL of the first iFrame written on the parent's frame.

View Replies View Related

From Web Usercontrol Back To Parent

How can I access a web.asp code behind class-on from a code behind calss-function in a loaded web usercontrol. A.aspx loads control B.ascx . A's classA.function A displays info to a label on A.aspx .

I want to call classA.functionA from control B's class B.function B so that when I click on a button located on control B, the on click event fires class B function B which then calls class A function A which displays the info.

View Replies View Related

Jumping To The Top Of Parent Using Iframes?

I have a parent window (default.asp) and on this page I have an IFrame that displays the rest of the menu requests for the site. The url always shows the base url, never other pages because they appear in the IFrame - this is by design.

The content in the IFrame is dynamic and may scroll forever depending on how much data is retrieved from the db. If the user scrolls down the IFrame to view to contents, the top of the default.asp page scrolls with it until it reaches the top of the IFrame.

The problem is that when navigating through the site I can't seem to figure out how to get it to jump to the top of the default.asp page when the page in the IFrame changes. This causes the user to have to scroll up and down throughout the site making it unappealing for navigation reasons.

View Replies View Related

Parent Path Debate

I know that IIS 6 disables parent paths by default and I see in M@rco's blog that he "hates them with a vengence." The problem with not using them (at least with includes) though, is that your code files cannot be structured in a useful way, otherwise you will not be able to redistribute your code or to move your folders. Code:

View Replies View Related

Title Of Parent Window

is there anyway to get the title of the window that opened a new window? in javascript it would be window.opener.document.title but is it even possible to get that with asp?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved