Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 8428 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I'm using a very small database to learn how to use CDML to make my custom database-accessing pages and post them on the web. I created a simple homepage in CDML that had a button which if pressed would delete a record from my database. Before I started messing around with CDML pages, I was able to publish the database on the web using the built-in Web Companion home page. I tried the CDML home page that I had created. Whenever I clicked on the button to delete a record from the database an error would occur, which would make Web Companion display the error page I had specified in the homepage to be displayed whenever an error occured. I was not successful in using my CDML homepage so I tried going back to using the built-in homepage. I was able to get to the homepage through my web browser. Then I clicked on the database I wanted to display and the page corresponding to it would be displayed but none of the buttons or links on the page would work. The browser would display on the status bar "Error!" whenever I clicked on a link or button. I tried accessing another database through the web browser and the same thing happened. Does anybody have any idea of what's going on here? crazy.gif" border="0

I'm using windows 2000 Professional and FileMaker Pro 5.0

[ January 03, 2002: Message edited by: juds ]

  • Newbies
Posted

This is the CDML code I'm using:

<HTML>

<HEAD>

<TITLE>Delete Request</TITLE>

</HEAD>

<BODY>

<FORM ACTION="FMPro" method="post">

<INPUT TYPE = "hidden" NAME = "-DB" VALUE = "YouthDirectory.fp5">

<INPUT TYPE = "hidden" NAME = "-Format" VALUE = "deletereply.htm">

<INPUT TYPE = "hidden" NAME = "-Error" VALUE = "error.htm">

<INPUT TYPE = "hidden" NAME = "-RecId" VALUE = "4">

<INPUT TYPE = "Submit" NAME = "-Del" VALUE = "Delete this record">

</FORM>

</BODY>

</HTML>

where deletereply.htm and error.htm only contain html code that tells the user that either the deletion was succesful or an error was encountered, respectively. I don't know if this might have been what caused my problem, but I did not disable Instant Web Publishing before using my custom CDML pages. I also tried using the link address generated by Web Companion when using Instant Web publishing in one of the homepages I created to access my test database. The problem really started at this point. frown.gif" border="0

Posted

Why you are starting with delete? Do some another examples.

WC is usually blocking the records after accessed from web browser, so I cannot delete something even I have full rights.

This topic is 8428 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.