Try this on your submit button:

<INPUT TYPE="BUTTON" VALUE="Close Window"
onClick="window.opener.location.reload(); self.close();">

I used this for a popup page that added a new user, so just take out the
self.close() if you aren't using a popup.

Bonnie E. Betts
[EMAIL PROTECTED]
www.interacttechs.com


----- Original Message -----
From: "Hubert Earl" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, April 16, 2001 10:42 AM
Subject: Showing the results of an add or edit operation


> Hi,
>
> I've built four files. The first shows the contents of a table.  The
second is a form which the user to add to, edit or delete from the table,
after which the user is automatically returned to the file showing the table
contents.  The third is the action file for the add to and edit operation
and the fouth the action file for the delete operation.
>
> The problem is that when the user is automatically returned to the page
showing the table contents,  it doesn't show the results of the change for
the add to or the edit operations.  The user has to hit the refresh button
to see the changes made (for the delete operation, however, the change is
shown).
>
> What additional code should I use so that the results of the add to and
edit operations are immediately visible, and in which file should the code
be put?
>
> Sincerely,
> ---
> Hubert Earl
>
> ICQ#: 16199853
> AIM: hubertfme
>
> My Jamaican Art, Craft & More Online Store:
http://www.angelfire.com/ny/hearl/link_page_on_angelfire.html
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to