Jump to content

cath

Members
  • Posts

    6
  • Joined

  • Last visited

About cath

  • Birthday 08/01/1972

cath's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Well, thanks to all of you! I think I'll go with a script, which seems to be the easiest way to get exactly what I want. Best regards, and hoping I can be of some help to someone in turn! Catherine
  2. Hello again! I wasn't aware one could execute a script from the web, so this could be a solution. But I would still prefer if I could do this otherwise. Due to my poor vocabulary related to web programming, an exemple will be the best way to explain myself. Here's an exemple of the form I'm using to post users query to the database (TableA) (My database is hosted on FileMaker Server 7 Advanced and I am using XSLT stylesheets): <form method="post"> <xsl:attribute name="action">recordlist_en.xsl</xsl:attribute> <input> <xsl:attribute name="type">hidden</xsl:attribute> <xsl:attribute name="name">-lay</xsl:attribute> <xsl:attribute name="value">MyLayout</xsl:attribute> </input> Variable: <select> <xsl:attribute name="name">FieldName.op</xsl:attribute> <option value="eq">is equal to</option> <option selected="selected" value="cn">contains</option> <option value="bw">starts with</option> <option value="ew">ends with</option> <option value="neq">is different from</option> </select> <input size="40" type="text"> <xsl:attribute name="name">FieldName</xsl:attribute> <xsl:attribute name="title">FieldTitle</xsl:attribute> </input> <input name="-find" type="submit"> <xsl:attribute name="value">Search</xsl:attribute> </input> <xsl:text> </xsl:text> <input name="Reset" type="reset"> <xsl:attribute name="value">Refresh</xsl:attribute> </input> </form> So the -find part works well on TableA. I guess if I want to add a new record to TableB, it will have to be outside of this form because it refers to another table. I am also using templates for other types of actions. Maybe the solution would be to combine a template (<xsl:call-template name="myaddrecordtemplate"/>) with this form, but my tries have been unsuccessfull so far.
  3. Hello and thanks for your replies, I would like that each time someone hits the Submit button to query DatabaseA::TableA, a new record is created in DatabaseA::TableB. Values will calculate themselves automatically so I don't need to worry about entering a value. I know I can use this to find records: <input name="-find" type="submit"> or this to create a new record : <input name="-new" type="submit">. But can I do a mix of the two? So that it finds records from TableA and creates a new record in TableB Note: I am using XSLT style sheets. Thanks again for your help! Catherine
  4. That's what I would do if I was working directly in FileMaker, but is it possible to do quite the same with a Submit button in a Web interface? Something like modifying this <input name="-find" type="submit"> so that it increments the value of a counter field? Thanks for any help! Catherine
  5. Hello! I have an online database and I would like to monitor the number of request made to the database. More specifically, I would like to know how many times the Submit button has been hit. Can anyone help me with that? Thank you! Catherine
  6. Hello! I have an online database and I would like to monitor the number of request made to the database. More specifically, I would like to know how many times the Submit button has been hit. Can anyone help me with that? Thank you! Catherine
×
×
  • Create New...

Important Information

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