Avatar billede Newbee1 Novice
14. april 2010 - 08:51 Der er 11 kommentarer og
1 løsning

Formular på dags dato

Hvordan kan jeg få formular til at låse på dagsdato ?

Når jeg åbner indtastnings formular, åbner den automatisk på dags dato, hvordan forhindre jeg at der kan skiftes til ny formular, med samme dato.

Der kan derved blive indtastet data på 2 formularer med samme dato?


MVH

Tony
Avatar billede terry Ekspert
14. april 2010 - 09:02 #1
"Hvordan kan jeg få formular til at låse på dagsdato ?"

Then you say thism which suggest that you can already!
"Når jeg åbner indtastnings formular, åbner den automatisk på dags dato"

Then you say
"hvordan forhindre jeg at der kan skiftes til ny formular, med samme dato"

What do you want to do?

Maybe a bit more information might help.
Avatar billede Newbee1 Novice
14. april 2010 - 09:16 #2
Hi Terry

When the formular opens it starts on today, but when you have used the form, it is now possible to change to a new form with the same date (today).It should be possible for all users to write the informations for today. It should not be able to make 2 forms on the same date.

I have a head forms with information who is on work, on that day and night. Then i have a sub form, where all information for the day is pasted, we work 24 hours a day, many users and information, should be opne all day for changes, first when date change, the report should be finished.

regards

Tony
Avatar billede terry Ekspert
14. april 2010 - 09:23 #3
"it is now possible to change to a new form with the same date (today)."

So ther emust be some code which is used to open the new form. I think you will find the code is filetering the new form with todays date
Avatar billede terry Ekspert
26. april 2010 - 08:39 #4
status please?
Avatar billede terry Ekspert
28. april 2010 - 09:01 #5
status?
Avatar billede Newbee1 Novice
01. maj 2010 - 19:50 #6
Hi Terry


The reason I dont answer is I'am stocked here, and
would try to solve some other problems first. And I have
a hard time to understand some of the answers.
(I have to think a few days, before I can go on)


As my username says I am newbee, and still have to learn a lot.

The problem is when I open the form, it will restart a new record, on today. I have a Headform and a subform. The head form should only be filled ut when starting up first time. The rest of the day, when starting the report, it should stay on the same head form, not start a new report.

I have a hard to explain what I mean ?

It was not be rude, I appreciate your help


Regards

Tony
Avatar billede terry Ekspert
02. maj 2010 - 09:28 #7
before I can help I'm going to have to see the dB so I can understand the problem

ekspertenATsanthell.dk
AT= @
Avatar billede Newbee1 Novice
04. maj 2010 - 08:51 #8
Tks Terry


Prblem solved by locking the date field in the table.
Avatar billede Newbee1 Novice
04. maj 2010 - 08:55 #9
Hi Terry


I can't give your points, pls
answer, so I can give you points.


Regards


Tony
Avatar billede terry Ekspert
04. maj 2010 - 09:03 #10
svar

"by locking"? changing it to a primary key (unique)?
Avatar billede terry Ekspert
04. maj 2010 - 09:03 #11
.
Avatar billede Newbee1 Novice
04. maj 2010 - 09:09 #12
Hi Terry


Yes by making the date unique, then it is not posibble
to make 2 reports on the same day.


Regards

Tony
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Dyk ned i databasernes verden på et af vores praksisnære Access-kurser

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester