?
Solved

Sharing a database

Posted on 2003-02-25
4
Medium Priority
?
222 Views
Last Modified: 2010-04-27
I'm interested in making some sort of chat using Filemaker. So far I have used Claris Homepage to publish my databases on a local network. This has meant that while surfing the records, you have had to reload the page to see the latest records. I have tried a "document.write" javascript but although the records are rewritten into the homepage I can4t see records which have been added or deleted after that I the first time loaded the page.

Now I would like to know how to view the records of a database in real time. In other words, while browsing, I would like to see all records without having to reload the page. How?
0
Comment
Question by:perch
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 1

Expert Comment

by:vux984
ID: 8032344
Create a frames site with two panes.
Use one pane to display the last n records of the chat.
USe the other pane to allow new lines of chat to be submitted.

The second frame is simply a form that submits the record, and the first frame is simply the result of a the approrpriate database query augmented with a little javascript to reload the page every few seconds, thereby keeping the chat "realtime".

You could augment it by maintaining the last few lines of chat in a cookie, and then your database query would only need to retrieve the new lines each time it reloads.

Good luck,
-D
0
 

Author Comment

by:perch
ID: 8041178
I have 2 frames like you say, but I haven´t got the javascript. I have never used cookies, so could you give me an example. Thanks for helping!
0
 
LVL 1

Accepted Solution

by:
vux984 earned 600 total points
ID: 8043922
This should point you in the right direction. You will have to tweak it a bit to suit your application of course...

http://www.tips-tricks.com/automa.asp
0
 

Author Comment

by:perch
ID: 8048408
Thanks, I have been searching for that script.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem: You have a hosted FileMaker database and users are tired of having to use Open Remote or Open Recent to access the database. They say, "can't you just give us something to double-click on rather than have to go through those dialogs?" An…
Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question