Jump to content

simonr

Members
  • Posts

    15
  • Joined

  • Last visited

About simonr

  • Birthday 11/03/1972

simonr's Achievements

Apprentice

Apprentice (3/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post
  • Collaborator

Recent Badges

0

Reputation

  1. Thanks for your reply. I think that will have to be the answer for now. Sorry for the delay in this reply also.
  2. Hi, I am trying to perform two separate finds on two separate databases from within one php script. It works, but itermittently I get the message: Error: unable to open file displayed in the browser. If I refresh it normally disappears. If I strip the code down to just perform one find on one of the databases it works every single time with no errors, on either of the two databases / search criteria. It just seems the combination of the two throws an occasional error. Here's the code: <?php include('Filemaker.php'); ?> Total Number of Projects <?php $fm = new FileMaker('xxxx.fp7', 'myhost', 'myusername', 'mypassword'); $findCommand =& $fm->newFindCommand('mylayout'); $findCommand->addFindCriterion('Data Storage', 'No'); $findCommand->addFindCriterion('Customer', 'xxx'); $result = $findCommand->execute(); if (FileMaker::isError($result)) { echo " Error: " . $result->getMessage() . " "; exit; } else { echo ' '.$result->getFoundSetCount();''; } ?> Total Number of Lines <?php $fm = new FileMaker('yyy.fp7', 'myhost', 'myusername', 'mypassword'); $findCommand =& $fm->newFindCommand('mylayout'); $findCommand->addFindCriterion('current', 'yes'); $result = $findCommand->execute(); if (FileMaker::isError($result)) { echo " Error: " . $result->getMessage() . " "; exit; } else { echo ' '.$result->getFoundSetCount();''; } ?> Any ideas anyone? In advance, many thanks. Simon
  3. Hi, I've had the same problem with IWP not starting. I found that quitting out of Filemaker and restaring apache (webserver) cleared the problem. Hope this helps.
  4. Hello Everyone, This might sound really basic but I've been staring at the screen for too long now and need some help. I've got Server 7 Advanced all up and running ok and using sitemaker I've managed to produce a basic xslt site. What I now want to do is start talking to the database using LDML. Sound silly but do you need Lasso installed to be able to do this. And where do you place the html pages on the server that talk to the database? In Filemaker 6 it was in the"web" folder of the application. Where now, in 7? I am just having no joy in connecting to any of my published databases using ldml. Any help on how to go about this would be great thanks.
  5. Is it possible to only IWP one database? I can turn on IWP in the preferences which makes them all display, but ideally I would like only one particular one to be available. Basically can I IWP on a "per database" basis? Any help greatly appreciated
  6. Hi All, I'm quite new to scriptmaker and I jope someone can help. Is it possible to make a script that checks the date on a database field and, for example, 3 day before that date fires out an email to the address in an email address field. The purpose of this would be to notify people of appointment etc 3 days in advance. Any help is getting this going would be really appreciated.
  7. Garry, I'm pretty new to filemaker. What are frames and how do they work? Simon
  8. Hi All-Can anyone help me please? I am trying to get my head around how to use the [FMP-link] function. What I want to do is perform a search and then get a list of results from that search which is fine, I can do that bit. I then want to be able to store that results page into a token as an [FMP-link] so that I can carry it around as a token and go back to the results at anytime. The problem is, having the [FMP-link] stored as a token, when I pass the token around from one page to another, it appears to try and execute whats in the token rather than just moving it about. Could anyone tell me EXACTLY how to set a [FMP-link] as a token, how to carry it around and how to retreive/recall the token? Any help is greatly appreciated, as I'm getting desperate with this one. Simon
  9. Hi All, Is it possible to tell a script to do a find on [FMP-currenttoken:2]. Basically my orderID is token 2, which I'm carrying around and the script has to find a record and print it out on the click of an "order item" button. Thanks in Advance.
  10. Keith thanks for replying so quick. What we want to do is go back to our list of results that have been already found, NOT do another search. How do we actually make the token with the [FMP -link] activate on an href link? process is as follows: search --> search results --> add to basket --> basket confirm --> back to search results. Thanks Again
  11. on our site you can do a search and then see a results list. From here you can move onward into the site. We need to make a "back to search results" button. Using Javascript is not an option here as the action of going back to results list needs to occur in one mouse click. Is [FMP-link] the answer? If so, do I set a token as the [FMP-link] and carry it around? If this is the case, exactly where do I set the token and how do I go back and display it further on? Quite new to FM so all help much apreciated Thanks in advance.
  12. I have some standard DHTML rollovers inside the [FMP-linkprevious] tags - they work fine in IE5 but not in NS4 - The rollover functions are working fine because they work outside of the FMP tags. Does anyone know if you can trigger a function from within the FMP tags in netscape? Thanks in advance.
  13. Hello Cybersport, thanks for your help so far. I can see what you mean. If you don't mind an example of the code would be helpful. Thanks.
  14. on our site, you do a find on the database which gives you alist of results. This is fine. Problem is that later on in the site I have a "back to search results" button which needs to do the obvious. What cdml tags do I need to use to do this. I am quite new to Filemaker so any help would be appreciated.
  15. having done a search(through the web browser), we get a list of results which is fine. Later on into the site I have a "Back to search results" button which needs to take me back to my list of results. How do I do this please using cdml tags? Using a javasript history is no good as the page can be accessed from all different areas of the site so a javascript wouldn't necessarily take you back to the rught place.
×
×
  • Create New...

Important Information

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