09/26/2008

Notes design basic 2: Use the correct field data types

Category
Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 


The second of design basics.. (somewhat later than planned)

Maybe the title says it all, but its important to put the data in the right type of fields.  This may seem obvious but the number of times I've seen a number in a text field - arrgh!.  This most notably applies to dates and numbers.

Why do you want to do this?  Simply because you'll not have re-manipulate the data elsewhere.  So if you want your stored dates on a document to behave like dates in a view - store them in a date field.  This will allow the view to see the data as a date and when sorted will sort it correctly.  If the data is stored in a text field the sorting will operate on the basis that your date is just a bit of text.  

Then if you have to do calculations on the data in either Formula language or LotusScript - you won't have to convert the data first - a number will be a number and a date will be a date.

It is also important to keep the use of correct data types when doing calculations either via LotusScript or Formula.  If using Formula in a calculated field make sure that the return type is correct - if you return a string the field will have a data type of text, if you return a date it will have a data type of date/time - regardless of the field settings on the form.    And the same goes for LotusScript - where is probably even easier to over-ride the field type .. in fact, in my experience this is usually the culprit for data being in the wrong format - someone generates a data string and stores this, leaving you with typically date/time data in a text format.

This flexibility of the data type in Notes fields might be useful in some occasions - but I've yet to find an occasion!  It is great that Notes is forgiving about this at times - but this means you have to watch the data types.

09/19/2008

It might happen

Category
Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 


One for a Friday really...

I'm sure switzerland is still there .. {link}

09/02/2008

Google entering the browser arena..

Category
Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 

Just got sent this - the Beeb has picked up on Google launching a web browser the BBC ... as if we didn't have enough browsers to test against ...

09/01/2008

Unison on Linux doing unified communications for SMBs?

Category
Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 

A colleague passed on this today.  A server/client platform that runs on Ubuntu (although client coming soon - so not quite there), does mail, contacts, calendars, IM and has an IP-PBX.  And all for $50 per user per year - not a bad deal.

The overview page and comparison table is interesting in that apparently there isn't a "exchange replacement server" that has a Linux client, offers a one server/client type solution, a PBX and there is a question mark over IM.

Domino?  - Well OK, Domino doesn't do PBX, but can at least be integrated.  Still it seems like a note worthy competitor in the SMB space and interesting that they are punting it on Linux.

09/01/2008

Solid state drives in the news again (now with link)

Category
Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 

IBM have been playing now and built a 4.1 Tb system! {link}

From the article ..

"Compared with the fastest industry benchmarked hard disk drive system, Quicksilver not only improved performance by 250 percent but did this in less than one-twentieth of the response time, one-fifth of the floor space, and with 55 percent of the power and cooling requirements"

So when can I get a laptop with that

Updated:  added the link - doh!  Thanks Yura.

Welcome ..

View Scott Cochrane's profile on LinkedIn

My IdeaJams

tag cloud

MiscLinks

Googles

  • No Search Referers

OpenNTF

Poweredby

Domino BlogSphere
Version 3.0.1 Beta 9