MS Access Help needed

Get help on databases - MySQL, Oracle, Access, etc.
Post Reply
JAM
Registered User
Posts: 49
Joined: 16 Nov 2006, 02:00
Location: Windhoek
Contact:

MS Access Help needed

Post by JAM »

Can anyone please help me on how to calculate the difference between two dates in Access in years and months.

I tried to Google it, but in vain.

Please help.
Intel Core 2 Duo E7300 cooled by Gigabyte 3D Rocket II Cooler
ASUS P5B 1066 FSB (P965 chipset)
2GB Transcend AXE DDR2 800+
1GB Corex Extreme DDR2 800
2 x 250 GB Seagate SATA II
XFX GeForce 8800 GT Alpha Dog XXX
Thermaltake Matrix VX Gaming Case
User avatar
rustypup
Registered User
Posts: 8872
Joined: 13 Dec 2004, 02:00
Location: nullus pixius demonica
Contact:

Re: MS Access Help needed

Post by rustypup »

Most people would sooner die than think; in fact, they do so - Bertrand Russel
Kronos
Moderator Emeritus
Posts: 4280
Joined: 28 May 2003, 02:00
Location: Azeroth
Contact:

Re: MS Access Help needed

Post by Kronos »

I've explained this before, but i'll do it again in case you haven't read my reply last time:

1: Backup your data
2: Delete MS Access
3: Install MS SQL Server 2005
4: import your data.
5: all access related problems solved! :)
Image
User avatar
Tribble
Registered User
Posts: 88465
Joined: 08 Feb 2007, 02:00
Processor: Intel Core i7-4770K CPU@3.50GHz
Motherboard: ACPI x64-based PC
Graphics card: GeForce GTX 780 Ti
Memory: 16GB
Location: Not here
Contact:

Re: MS Access Help needed

Post by Tribble »

rustypup wrote:your google is broken
What he said.
Image
Kronos
Moderator Emeritus
Posts: 4280
Joined: 28 May 2003, 02:00
Location: Azeroth
Contact:

Re: MS Access Help needed

Post by Kronos »

Tribble wrote:
rustypup wrote:your google is broken
What he said.
My solution is still better ;)
Image
User avatar
Tribble
Registered User
Posts: 88465
Joined: 08 Feb 2007, 02:00
Processor: Intel Core i7-4770K CPU@3.50GHz
Motherboard: ACPI x64-based PC
Graphics card: GeForce GTX 780 Ti
Memory: 16GB
Location: Not here
Contact:

Re: MS Access Help needed

Post by Tribble »

Kronos wrote:
Tribble wrote:
rustypup wrote:your google is broken
What he said.
My solution is still better ;)
Nope - just converted one of my access databases to a SQL backend - and now having to learn SQL. Not as easy as I was led to believe. I am only using SQL Manager at the moment - so would hate to think what I will have to go through when I want to design reports and queries :shock:
Image
Kronos
Moderator Emeritus
Posts: 4280
Joined: 28 May 2003, 02:00
Location: Azeroth
Contact:

Re: MS Access Help needed

Post by Kronos »

Tribble wrote:Nope - just converted one of my access databases to a SQL backend - and now having to learn SQL. Not as easy as I was led to believe. I am only using SQL Manager at the moment - so would hate to think what I will have to go through when I want to design reports and queries :shock:
That doesn't make Access better. ;)

When you have learnt how to use queries and stored procs, and how Reporting works it will be so much more powerful that you won't believe how you could ever have been satisfied with Access.
Image
User avatar
Tribble
Registered User
Posts: 88465
Joined: 08 Feb 2007, 02:00
Processor: Intel Core i7-4770K CPU@3.50GHz
Motherboard: ACPI x64-based PC
Graphics card: GeForce GTX 780 Ti
Memory: 16GB
Location: Not here
Contact:

Re: MS Access Help needed

Post by Tribble »

Kronos wrote: That doesn't make Access better. ;)

When you have learnt how to use queries and stored procs, and how Reporting works it will be so much more powerful that you won't believe how you could ever have been satisfied with Access.
Ah so it is one of those "wait and maybe you will see" thingys? :lol: It has to be better now - or what motivation to I have to learn it? I am still learning VBA and adding SQL makes it rather daunting.
Image
User avatar
rustypup
Registered User
Posts: 8872
Joined: 13 Dec 2004, 02:00
Location: nullus pixius demonica
Contact:

Re: MS Access Help needed

Post by rustypup »

if all this DB is doing is logging, installing SQL2005+BI+et al is very much like installing a cruise missile in place of a cracker...
Most people would sooner die than think; in fact, they do so - Bertrand Russel
User avatar
Tribble
Registered User
Posts: 88465
Joined: 08 Feb 2007, 02:00
Processor: Intel Core i7-4770K CPU@3.50GHz
Motherboard: ACPI x64-based PC
Graphics card: GeForce GTX 780 Ti
Memory: 16GB
Location: Not here
Contact:

Re: MS Access Help needed

Post by Tribble »

Yep JAM, - puppy has piqued my interest. What does your database do?
Image
JAM
Registered User
Posts: 49
Joined: 16 Nov 2006, 02:00
Location: Windhoek
Contact:

Re: MS Access Help needed

Post by JAM »

Sorry for taking so long to respond. It is a Human Resources Data Base. I want to create a Form that calculates experience in years and months once you have entered the date of appointment.
Intel Core 2 Duo E7300 cooled by Gigabyte 3D Rocket II Cooler
ASUS P5B 1066 FSB (P965 chipset)
2GB Transcend AXE DDR2 800+
1GB Corex Extreme DDR2 800
2 x 250 GB Seagate SATA II
XFX GeForce 8800 GT Alpha Dog XXX
Thermaltake Matrix VX Gaming Case
User avatar
rustypup
Registered User
Posts: 8872
Joined: 13 Dec 2004, 02:00
Location: nullus pixius demonica
Contact:

Re: MS Access Help needed

Post by rustypup »

HR :evil:

the best approach is

Code: Select all

DROP DATABASE; --
Most people would sooner die than think; in fact, they do so - Bertrand Russel
User avatar
Tribble
Registered User
Posts: 88465
Joined: 08 Feb 2007, 02:00
Processor: Intel Core i7-4770K CPU@3.50GHz
Motherboard: ACPI x64-based PC
Graphics card: GeForce GTX 780 Ti
Memory: 16GB
Location: Not here
Contact:

Re: MS Access Help needed

Post by Tribble »

:lol: :lol: :lol: Most of the ones I write are for insurance companies or banks. An HR one could be interesting. But must learn SQL first.
Image
Screeper
Registered User
Posts: 3692
Joined: 04 Apr 2003, 02:00
Contact:

Re: MS Access Help needed

Post by Screeper »

Tribs - learning SQL skillz is never a bad thing. It isn't as tricky as you first think (although if you want it to be, SQL can be insanely complex). But is certainly is one of those 'wait and see' things where once you get over the initial first hurdles then you'll see the light :)

lol @ rusty
There are 10 types of people in this world.
Those who understand binary and those who do not.
User avatar
Tribble
Registered User
Posts: 88465
Joined: 08 Feb 2007, 02:00
Processor: Intel Core i7-4770K CPU@3.50GHz
Motherboard: ACPI x64-based PC
Graphics card: GeForce GTX 780 Ti
Memory: 16GB
Location: Not here
Contact:

Re: MS Access Help needed

Post by Tribble »

Screeper, I will try and believe you seeing I have no choice - I have to learn it. :lol:
Image
User avatar
rustypup
Registered User
Posts: 8872
Joined: 13 Dec 2004, 02:00
Location: nullus pixius demonica
Contact:

Re: MS Access Help needed

Post by rustypup »

Screeper wrote:once you get over the initial first hurdles
one of those 'hurdles' being the query response "1,341,622 rows affected" :lol:
Most people would sooner die than think; in fact, they do so - Bertrand Russel
Post Reply