Jump to content

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

Recommended Posts

Posted

hi and thanks for all your help in the past! i perform several inline actions that will not work when i reference my current database, yet when i make an identical copy of the database, name it something else, reference it, it all works fine. this leads me to believe it's not a database, but a cdml problem. here is a code snippet:

[FMP-InlineAction: -db=mydatabase.fp5, -lay=master, clientnumber={fmp-field:clientnumber}, type={fmp-field:type}, birthdayempty=0, -sortfield=birthcountdown, -sortorder=ascending, -max=3, -find]

again, that coding works fine referencing an exact copy, differently named. im stuck, any advice is most appreciated!

Posted

hi garry, let's say the name of the original database is mydatabase.fp5 and the duplicate one, which works, is mydatabase2.fp5. apparently, the inline action works while referencing a different database, regardless of the name, rather than the original one. also, inline actions on IE 6 seem to be a little iffy. i appreciate any suggestions! thanks in advance.

Posted

The browser will not make any difference because the processing is done on the server before it gets to the browser. The only way a browser could make a difference is if you are passing some values (Form POST etc) or a META Refresh.

The name of the original database may be significant if it is causing a problem, for example it may have an "_" (underscore) at the start of the name; which "hides" the database.

Good Luck.

Garry

Posted

hi garry, sure i understand the importance of naming a database, but it's as simple as "mydatabase.fp5", only alpha-numeric, no underscores or silly things like that. occasionally the database will do proper inlines. when it doesnt, an exact copy, like "mydatabase2.fp5", will do the job.

i can't tell why it's iffy, why it works sometimes and doesnt some other times. ive made no changes to the original database. when it works on the original database on mozilla firefox, it doesnt work on IE 6. could there be a browser setting that stops inline actions?

thanks again!

Posted

What do you mean by "not work"? I.E. does it just return nothing? Or, is there an error?

Can you goto the database and "Modify Last Find.." to see if something has happened?

Is the page "called" from a Form or URL? If it is a Form, is there a difference if the "Return" key is pressed or if a "Submit" button is clicked?

All the best.

Garry

Posted

thanks for your reply, garry. everything on the page works fine but the inlines, it is called from a url. there is no error message, the inlines simply do not work from the original database, yet work fine referencing a duplicate database named anything else. i work on windows xp. i consider myself moderately proficient on cdml, using tokens, inlines, cookies, if-statements, but this anomaly has got me stumped!

the inline calls for a calculation with 3 results, while the url calls up a particular record. i thought the calculation was the problem, but it will not return even a simple name in a -findany request from the original database.

am i the only one who has had a problem like this? other databases i work with do wonderful inlines even with a -view request.

im sure im not making any silly simple mistakes here, that's why im at a loss, lol!

Posted

thanks for your replies garry. i thought that this might have been a situation others have experienced. Was hoping for an obvious answer. the database is not corrupt, the spelling is right, the url is right. sometimes the inlines work with the original database, sometimes not. working fine now on mozilla, but inlines from original database ignored on IE 6. ghost in the machine? i don't know. again, thanks for your time, best of luck!

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