Skip to content

Tag: ms-access

Updating Date in Access

I want to simply update a date column within a table where a status exists. Here’s what I have I have tried the following Nothing has gone through, no errors, just not updating. I can update the field manually. Answer Answers were correct, silly issue about the Trust Center ‘enable’ bar not showing, therefore…

Error Using the iif statement in MS access

The completion_metric field from this query I made in MS ACCESS keeps giving me zero percent for all the records. I think something is wrong with my IIF statement. Also, how would can I populate a text box on a ms access form with this query. For text-boxes there seems to not be an option to let my record sou…

Import an Excel Sheet with File Dialog in Access

I have a splitform where I want a button to choose and import a file into a table. I have something like this: I set the reference to Microsoft Office 16.0 Object Library. When I tried using this button there was this error: Method ‘FileDialog’ of object ‘_Application’ failed. Answer I…

MS Access SQL query – Count records until value is met

I have an Access query (qr1) that returns the following data: dateField stringField1 stringField2 booleanField 11/09/20 17:15 John Nick 0 12/09/20 17:00 John Mary -1 13/09/20 17:30 Ann John 0 13/09/20 19:30 Kate Alan 0 19/09/20 19:30 Ann Missy 0 20/09/20 17:15 Jim George 0 20/09/20 19:30 John Nick 0 27/09/20 …