Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Help

 
   Database Forums (Home) -> FileMaker RSS
Next:  guguk  
Author Message
Darío_Alberto_Vásquez_Guz

External


Since: Jun 25, 2011
Posts: 1



(Msg. 1) Posted: Sat Jun 25, 2011 12:10 am
Post subject: Help
Archived from groups: comp>databases>filemaker (more info?)

Greetings all, I have the next task and need some help. I hope you can help me.
1 .- As from a date of birth (date field of type date) to obtain the current age
2 .- I am doing a medical egress in FileMaker, and I need some way for me not to print the text limits the size of the field, I tried golf but I fuision it to me all the success in scrambled the printing.

 >> Stay informed about: Help 
Back to top
Login to vote
Martin Τrautmann

External


Since: Jun 25, 2011
Posts: 2



(Msg. 2) Posted: Sat Jun 25, 2011 4:25 am
Post subject: Re: Help [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

This message is not archived

 >> Stay informed about: Help 
Back to top
Login to vote
Your Name

External


Since: Jun 26, 2011
Posts: 3



(Msg. 3) Posted: Sun Jun 26, 2011 4:25 am
Post subject: Re: Help [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article
,
comp.databases.filemaker.RemoveThis@googlegroups.com wrote:

> Greetings all, I have the next task and need some help. I hope you can
> help me.
> 1 .- As from a date of birth (date field of type date) to obtain the
> current age

This one is fairly easy ... although not as easy as most people first
think. You can NOT just subtract the two dates and divide by 365 thanks to
the problem of Leap Years.

What you have to do is subtract their birth year from today's year to get
the age the person will become on this year's birthday.
e.g.
Year(Get(CurrentDate)) - Year(BirthDate)

If you need to be more exact, then you also have to subtract 1 if they
have not yet had their birthday this year. The easiest way to do that is
to check if the today's date is before their birthday this year.
e.g.
If(Get(CurrentDate) > Date(Month(BirthDate);
Day(BirthDate);
Year(Get(CurrentDate));
-1;
0)

That gives a complete calculation of:

Age Calculation Number Result, Unstored
= Year(Get(CurrentDate)) - Year(BirthDate)
+ If(Get(CurrentDate) > Date(Month(BirthDate);
Day(BirthDate);
Year(Get(CurrentDate));
-1;
0)

That will give you their age as of today. You can change the
Get(CurrentDate) functions to any other date or date field you like to get
the age as at that particular date.



> 2 .- I am doing a medical egress in FileMaker, and I need some way for
> me not to print the text limits the size of the field, I tried golf but
> I fuision it to me all the success in scrambled the printing.

Sorry, I don't understand what you're doing or want to do here. The
storage lmit for a text field is quite a lot of text. The display limit is
defined by how long / wide you stretch the field in Layout mode (you can
use Sliding to close up any gaps when printing / previewing the Layout).


Helpful Harry Surprised)
 >> Stay informed about: Help 
Back to top
Login to vote
Martin Τrautmann

External


Since: Jun 25, 2011
Posts: 2



(Msg. 4) Posted: Sun Jun 26, 2011 4:25 am
Post subject: Re: Help [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

This message is not archived
 >> Stay informed about: Help 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
How to set up Filemaker to avoid decreasing of speed - Please if somebody can help me! I have database of 1.6 mil subscribers (cca. 1.2 Gb, 60 fields, FileMaker Developer 7) - where I want to put average amounts (of 7 different revenue types) from 6 different databases (each database has monthly revenues). ...

File extension to force Tab-Delimited Text Import? - Has anyone found a way to force FileMaker 7 Server to use "Tab Delimited Text" as the import type in a scripted import? It seems that the file type is not remembered as part of the import step. I'm importing fixed-field data in to a text fie...

Fastest way to make related records? - I'm using FM server 7. I have a table that has 25,000 records in it, and I need to make related records in a join table. The two tables are related by a two-field match (ID and Date). I've come up with several ways to do it, but none of them work....

Identifying Connected Users in FMP7 - Hi All, I am using a small network of FMP7 users connected in a PTP network. I want to see the User Names connected to the database at any time. I can find no script or function to do this - the only way I can do this as the File Host, is to "attem...

Unique Field Validation in FMP7 - Hi All, I have a need to test a field at entry time to check if it is Unique. I know there is a standard Unique checkbox in Field Validation, but I want to validate for uniqueness using the Calculate box because I want the uniqueness tested only under...
   Database Forums (Home) -> FileMaker All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]