Hi everybody and Merry Christmas!
I have an Access table with several columns and corresponding field names. The purpose of the db is to keep track of ipads, macs and pcs on some schools.
One of the fields is named "Departments". Now, every School is divided into different departments based on the age of the students, like this:
School A
Department1
Department2
Department3
On School A Department2 got 10 ipads, so in the table each one is registrered by serialnumber. And since Department2 have 10 iapads, there will be 10 rows in the table that reflect this fact.
I have created a form and on the form I have put a textbox. To fetch the information about the 10 ipads (I just want to put the number 10 into the textbox), I use this string:
=abs(Summa([IPads]![Building]="Department2"))
The strange thing is that it will work until a restart Access. If I close down Access and restart it, the form will not show me the number 10, instead it will say #Error.
Anybody that can spread some light on this?
I am using Access 2013, Windows 8.1