Jump to content

Error : No Records Found:Modify search ect....


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

Recommended Posts

Posted

Hello all, I recently took over managing our website that has more than a few links tied to a FM database, I am not very FM savy so please forgive me if my explanation is a bit vague.

We have a link on our site that is a sign up sheet for lunch time seminars, after you go to the first link you have a option to sign up or view the sign up list via a hyperlink. Okay here's the link for them to click if they want to see the current sign up list and this is where I receive the error(No Records Found: Modify your search criteria and try again.)

<A HREF="FMPro?-db=seminars.fp5&-lay=detail&-format=results.htm&-max=6&rec_id=[FMP-currenttoken]&-find">See

the above Seminar Sign-Up List</A>

I receive that error at that point but if I sign up first, it takes me another page which has that same exact link(and code) on it and if I click it then it will bring me to the right page.

One thing that I did notice is that when I do a mouse over the link on the first page(problem page) I see the href in the status bar as shown above. But if I do a sign up and then go to the next page and do a mouse over on the link the only thing that is different is that were it says

&rec_id=[FMP-currenttoken] a number is display instead of [FMP-currenttoken] an example being rec_id=1234

Anyone have any clues on this? I hope I explained it kind of easy and didn't ramble to much.

Thanks, Jaser

Posted

I don't know if you're familiar with tokens, but here's a brief explanation.

They use the URL to send a piece of info between pages. It's kind of like a temporary cookie that gets stored in the URL rather than the users hard drive.

From what I can tell, it seems that when you sign up for a seminar it stores the record ID of the seminar you signed up for in a token, so when you click the link, the [FMP-CurrentToken] is replaced by the record ID that was stored. I would guess that before you sign up for a seminar, nothing has been stored in the token so you get the error.

I don't know how you have the page with links to view the seminars setup. Is it just a list of all seminars available with a link to view it and another link to sign-up?

Without knowing more, I would try modifying how the links are created (use [FMP-CurrentRecID] instead of [FMP-CurrentToken]) or set the token earlier so it's already set by the time you get to the page. There is a lot more info about token in the CDML reference database so check that out too.

Hope this helps,

Posted

Thanks, that was a good explaination. That is exactly what I thought so I don't know if the first link ever worked. Again I am taking over the position on maintaining our site so this is all new and I can't get of hold of the guy that first set this up.

Just an overview on how the pages are setup. When you go to the first page it has a list of the 6 most recent seminars with the most current one at the top. Every seminar list has a link that ask you if you would like to sign up at that point if you click on it it takes you to the page with the link in question,

with a field to input your name or to click on the other link. If you put in your name and click the signup button, it signs you up and takes you to another page with the same link that in in question.

Like I said this one seems to work fine. If you click on it, it will take you to the list of only that seminar that you signed up for.

Well thanks again and I will try what you suggested.

This topic is 7711 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.