Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

HI rlinsurf,

If the field is a regular timestamp, you simply sort it. I'm afraid we really don't have enough information here. Do you mean you might have a date field and a time field? If so, you can sort first by date (ascending) and then by time (ascending). But I've the feeling there is more here than this simple answer. :wink2:

Posted

Question says it.

No it doesn't.

Is this a Timestamp Field?

I suspect that this is tied to your other post that was about parsing out data from a web source, and that the field is Text.

HTH

Lee

Posted

It is a standard Timestamp field. I am using a CF to generate what the manual said was the proper form, and then used a script to set the timestamp field to the generated data in each record. Here are some examples:

1/5/2009 4:45:34 PM

10/4/2009 9:58 PM

3/22/2009 11:08:40 PM

When sorted solely by the timestamp field, they sort 1/1/2009 first, coming before many 2008 dates.

Posted

Hi, Lee--

No, the CF is to parse out the entire web page. Once the CF does its work, it's then copied and pasted into a permanent storage field which is a standard timestamp field. The original text of the html is then deleted to save on space. The difference between the file containing the original html and the file without is the difference between 2.5GB and 35MB. Hence the need to get rid of the original HTML. So the timestamp is then only permanently stored in the non-CF timestamp field.

Posted (edited)

It sounds an awful lot like FM is interpreting the field as Text. Double-check that the field is defined as type = Timestamp?

Um -- Can you say "Dumb**s?"

Why, yes. That *could* be the problem. : : :B

Edited by Guest
Posted (edited)

That is why I was asking you if the field was a Timestamp field, twice.

In fact, that was a point made by LaRetta too.

Lee

Edited by Guest
Posted (edited)

Yes, I know. It was about 7AM when I went to check it and that's about when I dropped off. I actually swore I had checked it. Sara's post made me go back and check again.

Apologies. :

Edited by Guest
Posted

No Problem.

This is a very common error, and we all have had it happen to us.

It is one of the first things to check when the results are not acting like expected, display funny, relationships are not working, etc.

HTH

Lee

  • 1 year later...
Posted

I have a related question- since this thread is so recent, I thought I'd just continue it...

I have a timestamp field that I'm trying to sort and generally, it sorts perfectly and as expected. I should mention that Filemaker will automatically enter the creation date into this timestamp field. However, I just created a new record and needed to change that date. The sort does not recognize the changed date. Am I expecting Filemaker to act inappropriately? It seems that it honors the actual creation of the record rather than the text within the timestamp field. I can certainly see how this would be useful but how can I add records retroactively via this timestamp field, then?

Is my question clear?

Thank in advance.

Posted

However, I just created a new record and needed to change that date. The sort does not recognize the changed date. Am I expecting Filemaker to act inappropriately?

No, it should work as you expect.

This topic is 4943 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
×
×
  • Create New...

Important Information

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