July 11, 200322 yr I'm trying to do a simple search on 2 fields, cc & Unit #, and I get a Javascript error that says check out Status(CurrentError) 4, when I click on the link. I am trying to bring up a detail page from a list of records by populating my link with the Unit # of the part. Here's my link in the template: <a href=FMPro?-DB=InventoryDatabase.fp5& -Format=WBDetails.htm&cc=476252R378&-Unit#=[FMP-FIELD: Unit#]&-Error=WBError.htm&-Find>Details</a> Here's how it comes back populated by web companion: <a href=FMPro?-DB=InventoryDatabase.fp5& -Format=WBDetails.htm&cc=476252R378&-Unit#=BR4778&-Error=WBError.htm&-Find>Details</a> Why won't it bring up my detail pagewhen I click this link? Is -Unit a command?
July 11, 200322 yr "...says check out Status(CurrentError) 4..." Ok. did you check it out? See your copy of FileMaker Help. Find "Status(CurrentError) Function". There you will find that Error 4 answers your question, "Is -Unit a command?".
July 11, 200322 yr One more thing. It is obvious that you are using IWP. The success of your solution is dependent upon your database development abilities and your prescience in how the HTML of IWP is generated. The only control you have of the HTML generation is through your db design. That is why so many of us use CWP. Good luck.
July 11, 200322 yr Author Thanks anyway. I found a way to use Record ID to identify & show the record detail, instead of searching that field. I still don't know why it wouldn't search that field. Do you?
July 11, 200322 yr You are missing the "-lay" tag. Also, you will have problems with "-Unit#", is the name of the field "Unit#" or "-Unit#"; whatever the case you will have to remove the leading "-". All the best. Garry
July 13, 200322 yr Author Thanks, Garry. I'm sure the -lay was the problem. I haven't coded this stuff for a while. I'll post a new topic for my current problem with check boxes...
Create an account or sign in to comment