Jump to content

Starting from the top of a text field


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

Recommended Posts

  • Newbies

Hi all, I posted this to the shout but was told the question would be better asked in a forum. Sorry.

I am new to Filemaker. Not new to computers at all. I inherited a FM DB when I started a new job and I am trying to modify it. SO far I have been doing ok but I am having an issue with something now.

I want to write a script that goes to the top of a field, makes a new line, enters the date and then makes another new line in preparation of entering text into the field.

So . . . you click an "Add new case notes" button then in the case notes field the cursor goes to the top of the field , adds the date, adds a carriage return and then awaits input. I have managed to get it to do everything I want except going to the top of the field. It keeps going to where text was last entered.

Regards,

Drew

Link to comment
Share on other sites

If you had FileMaker 7 or 8, you could use the Set Selection script step to position your cursor wherever you want. With FileMaker 5, there really is no way to do this, hence, the reason they added the Set Selection step.

What you can do is look at some alternative approaches:

http://www.filemakerpros.com/NOTES.zip

http://www.filemakerpros.com/NOTES1.zip

If you want to see how to do it with FileMaker 7 or 8, download the following file:

http://www.filemakerpros.com/NOTESFIRST.zip

Link to comment
Share on other sites

  • 5 months later...
  • Newbies

Hi, I finally got the chance to look at NOTESFIRST. Opened it and I have tried to see how it works but it keeps giving me the error message "This action can not be performed because this file is not modifiable" Have you saved it so that its locked or am I doing something wrong?

Regards,

Drew

Link to comment
Share on other sites

John's tip files are always open.

I see you are on a Window Machine. Your Windows sometimes changes the file Permissions when you download a file. Go to the file, and Get Info. Change the Permissions to Read and Write.

HTH

Lee

Link to comment
Share on other sites

This topic is 5514 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
 Share

×
×
  • Create New...

Important Information

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