In my Libre Office database, on my data entry form I want to add some automatic functions like in a spreadsheet. For example, if a user enters a date in the form, can the "Weekend" boolean be automatically be switched to yes.
As well as, can the hours worked be automatically calculated based on the clock in and out times?
Thanks for your help.
Scrnsht of Data Entry Form
Related
I am building a vacation forms for my company.
Through a workflow the data will go to a Microsoft List.
Link to the form: https://forms.office.com/r/XSie2jVp0E
Forms Image
My question is: Is there any way to "link" the forms to the list and reserve that period of time so that the next user can´t select it.
Example:
John Chooses vacation between 20/03/22 - 25/03/22
So, when Edward fills the form and chooses, 22/03/22 - 24/03/22 it won´t be avaliable
Is there any way to do this condition?
I'm a novice coder and I'm trying to create a tool using MS Access (since I can't build GUI's to safe my life) for locker management in the school I work for.
Now, I'm trying to create this feature where a student can request a locker. In my locker table, I have a column with "Wishes" which is a Yes/No field. The other column is "WishDate". This is a date field.
My idea is that if the Yes/No field is set to "Yes", the tool fills in today's date. And if the Yes/No field is set to "No", I would like that the date is emptied out (if there is anything in it) But, I'm truly stumped on how to do that. How can I build a feature like that?
The reason I would like the date field emptied if the Yes/No field is on "No", is because on the form that I created to add a student to a locker, I put the students who wanted a locker first based on that wishdate.
I hope my idea and question is clear. Otherwise, I'm willing to clarify my idea further.
If you want to populate date/time field based on yes/no selection, use code (macro or VBA) in checkbox AfterUpdate event. I use only VBA, so something like:
If Me.chkWish Then
If IsNull(Me.tbxDate) Then Me.tbxDate = Date()
Else
Me.tbxDate = Null
EndIf
Trying to make a fillable form
That has a time input
that is in a format like i.e 11:00 AM
and that's the only way you can put the time in
You can do that with a simple formfield (Developer|Controls|Legacy Tools>Text Form Field), then accessing its properties and setting the Type to 'Date' and the Date Format to 'h:mm am/pm'.
Do note that formfields only work with the 'Filling in forms' editing restrictions applied; they should also not be used in a document containing content controls, as the two weren't designed to work together and trying to use them that way can cause problems.
I am using MS Access and I have a table called tblLogs, it contains all the logs and a field called logDate. I have created a form in which I need to show the data from tblLogs, but only the records from the last two days. My question is: what are my options?
I've been doing some research and tried making a query which retrieves the data I need from last 2 days, but after doing it I realized there wasn't an easy way to bind query content to a Control (a text box in this case). Another option that came to mind was somehow setting an automatic filter that is triggered when you open the form (don't know how to do it yet), but I don't know if that would be convenient.
So, I'm all ears guys
In the form properties set Filter On Load to Yes and Filter to
logDate >= DateAdd('h', -48, Now())
I'm trying to create a Crystal Report that reads data from an access table. I have a particular field in the access table called REPT_YYMM. This is basically a run data field, so each month when a program is run it populates the current year/month in the field before exporting to access, so there is a way to do month to month comparisons. For the report I'm working on I just want to display the data along with the current REPT_YYMM field when the data is refreshed on a monthly basis. Is there a way to do this in a formula. I'm not familiar enough with date type functions to know where to start.
Any guidance or suggestions are appreciated!
Your question isn't very clear but if i understood correct you just need to filter the data where field REPT_YYMM = YYMM.
Goto selection formulas, record and enter:
{table.REPT_YYMM} = cStr(currentdate,'yyMM');