Jump to content
Sign in to follow this  
fundidor

Posting Messages on Records?? How?

Recommended Posts

I am trying to build a small Filemaker Pro data base where I can interact with my co-workers. For example: Each record is a task for the co-worker. Eg. A salesman called John. I ask him to visit my customers "william". I need to post messages on the record, and "talk" to my c-worker as the task develops.

I am new to FileMaker, and can create the records with each field. But how do I post messages on the record? I mean, How do I make a button that will make new fields or entries on the records?

May be someone has already built something similar. But I guess I am typing the wrong words when I search.

What I want to build is very similar to this forum. But it should run on Filemaker.

Thanks for any help!

Share this post


Link to post
Share on other sites

Hi Bernardo, the easiest way to do this is to make the Comment/Posted Message field a repeating field. The user can just click into the first unused repetition to post a message.

An alternative is to have two related files, Tasks.fp5 and Messages.fp5, with "Allow creation of related records" selected, and ask users to enter comments into the portal.

Jerry

Share this post


Link to post
Share on other sites

Hi QuinTech!

Thanks for posting.

I have now two databases as you sugested (your second option), Messages.fp5 only has one field. Tasks.fp5 has a portal where I type the message, and a new record is created on Messages.fp5.

After typing the message on the record at task.fp5, the portal becomes empty. And the message is not seen on the record at tasks.fp5.

Please:

1) How do I get the record at tasks.fp5 to display the messages that were stored on messages.fp5?

2) How does Filemaker "know" which messages belong to which record?

Thanks again!

Share this post


Link to post
Share on other sites

Bernardo, could you post clones of your files here? This would probably be much easier.

J

Share this post


Link to post
Share on other sites

Hi QuinTech!

I have done some progress. I figured out I needed to have IDs in both files so they could relate...

Here are the clones...

Share this post


Link to post
Share on other sites

You need to zip or stuff the files.

Share this post


Link to post
Share on other sites

Bernardo, you solved your problem, right? Because i'm not getting the misbehavior you described. When i type a message into the portal, it stays there.

Share this post


Link to post
Share on other sites

Hi Quin Tech!

Thanks for the interest. Could you help me further?

I can't figure out how to stop one user from editing another user's messages.

Also I would like to place a small picture of the user close to each post.

Any ideas how I could accomplish this?

Share this post


Link to post
Share on other sites

I have uploaded the current versions of my files, to the same location. In case you would like to view them as they are now.

Thanks!

Share this post


Link to post
Share on other sites

I have uploaded new files to the same location. In case you want take a look at my files as they are now. Thanks!

Share this post


Link to post
Share on other sites

Taking a step back:

You now want to do two things that are specific to a user: 1. Allow editing of messages; 2. Display a picture. Now might be a good time to introduce a third file, Usuarios (thank you babelfish.altavista.com).

Give Usuarios three fields (at least)B) UserID (auto-generated serial number), Name (text field) and Picture (container field). For each user/record, you can just paste their picture right into the field; fool around with Format>Graphic to get it to look right.

As for the other question, i would do this: Create a password for each user which is equal to their user name (File>Access Privileges>Passwords). This password should be the same for all three files. In Users, create a calc text field called CurrentUserName which is equal to ( Status ( CurrentPassword ) ). Also create a calc number field called U1 which is always equal to 1.

Now in Messages, create a global number field called U1g and in Browse mode set it equal to 1. Make a relationship between U1g and U1 from Users. Now through this relationship you are able to see the current user name from Users.

Still in Messages, make a field called UserName, auto-enter looked-up value Users::CurrentUserName. Any time a new record is created in Messages, it will be tied to the currently-logged in user.

Now go to Access Privileges>Passwords in Messages. Set Edit Records: Limited: UserName = Users::CurrentUserName. Now no user will be able to edit a message created by another user.

HTH,

J

Share this post


Link to post
Share on other sites

I am sorry, Bernardo, i wasn't paying much attention to what i was writing... what i told you was complete bunk. (It was actually applicable to another program, but that doesn't help you, does it?)

What you should do is create a password for each user, and in the Access Privileges menu associate each password with a different group (give the group the same name as the password). Now set CurrentUserName = ( Status ( CurrentGroups ) ). That is what i should have wrote the first time.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Similar Content

    • By Tumma K
      Hello, All!

      I am an aspiring developer for Filemaker. The company I work with is stuck in the past working off of Filemaker Pro 4.1

      I was given the task of bringing us up to Filemaker Pro/Server 13. So far my conversion prototypes are successful but we recently had a layout issue that can only be fixed in versions 3-6 (as the file is an .fp3) I work off of a macbook while our network is all Windows 7. In order for me to repair the layouts without tampering our active database, I decided the best option is to repair a copy of our solutions off the network. Unfortunately, when I go to download the trial version of Filemaker Pro 6 off of the respected website, the file is corrupt! I've tried multiple times, with different extraction apps and in different directories.

      My question is;

      Does anyone know a place where I could obtain version 6 (or better yet, 4.0) for an OSX computer? I've looked everywhere!
       
      Thank you for your time,
      Tumma K.
    • By MrEddByrnes
      I'm hoping my question can have a happy ending. In the mid-90's, I purchased Filemaker 3. When Filemaker 5.5 Pro was released, I bought the update CD, which requires the user to either have FM 3 installed or to have the installation CD for FM 3. I've used it all these years, most recently with Windows XP Pro, and it has worked just fine. The databases I began with were long ago converted to FM Pro 5.5 databases.
       
      I'm still using FM Pro 5.5 on a laptop with WinXP Pro, but in 2013, I purchased a PC with Windows 8. I haven't been able to install FM 3 on it, therefore can't install FM Pro 5.5. I am retired and rarely use Filemaker, but I have a few Filemaker databases I'd like to add to my Win 8 machine. I don't feel it's worth upgrading FM for the sake of using a couple of databases.
       
      Has anyone else run into this situation and/or have a (possible) solution? Is there perhaps any other software that can read FM 5.5 databases? Thanks in advance for your help.
       
    • By bmill
      I am using a custom filemaker solution for medical office billing written with fp5 running on a mac with snow leopard. In addition, I have a patient management db (which I wrote) that is linked through pt. ID number to the billing program allowing transfer of some demographic information (name, DOB, etc).
       
      Other than being limited by hardware restrictions, the billing program serves our needs for now and upgrading to fp12 will take some time (and money).  In the meantime, I am upgrading my pt. management program to fp13 and would like to move new patient demographic information from the billing program ( fp5 running on snow leopard through Parallels) and the new pt management program ( fp13 running on OS X 10.9) on the same mac.   
       
      Ideally, demographic information would be entered once into fp5 and then a scipt would make the data available for fp13.
       
      Any ideas on how to make this work?
    • By randyinla
      Hi, can anyone tell me why my on-line database might have stopped allowing me to delete records?  All of my access privileges and passwords are correct.
       
      thanks!
    • By randyinla
      Hi, I still use filemaker 5.5 and am very happy with it and don't want to upgrade.  Does anyone still host filemaker 5.5?  Thanks!
  • Who Viewed the Topic

×
×
  • Create New...

Important Information

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