I just finished debugging my database for errors and was wondering if there is an easy way to remove all the data and reset the autonumber's to 0?
I am using Access 2007.
Thanks
User Profile
Collapse
-
Help! Access closes automatically
Help! I was using my access database today when it closed suddenly. When i Try to open it again, it open then closes quickly by itself. is there any way to force it to stay open? -
total # of records in a report
is there a simple way to attach the total number of records in a report to a text box on the report? I tried using the count function in the expression builder, but it returns the number 70 even thought there are only 2 records. I am using access 2000.
Thanks in advance -
Thanks that worked perfectly -
refering to variable in a form.
I have a form that the user enters a financial quarter and year to produce a report. the report is based on a query that uses the quarter and year. seems simple enough. The financial quarter and year are drop down boxes. When the run query button is pushed the form concantinates the strings QueryStartDate and QueryEndDate. How do I refer to these variables in my query expression?
Public Sub Preview_Report_ Click()
On Error... -
Forms![OpenTest2]![Status] = Me![Status]
DoCmd.close
that it what I put inside form 2 right before close. OpenTest2 is the name of Form A. Access gives me the error:
"Access can't find the field 'Status' referred to in your expression." It is referring to the "=me![Status]".
what did i do wrong?Leave a comment:
-
-
auto form update
I have a form, lets call it form A, that displays a list of projects that need completed. The record source for form A is a simple select Query. when you click on a record it shows a detailed description of the task in a new form, lets call it form B. Form A stays open in the background while form b is open. There is a button on form B which marks the task as completed, which is a yes/no box in the source table. this button also closes form... -
no i am just trying to highlight the row to make it easier to see. The data can be changed....Leave a comment:
-
fail is a boolean.
i have tried with and without the quotes. no changeLeave a comment:
-
a really annoying update SQL problem
I have a db with the primary key of Test_Number which is an autonumber.
Every time i run this update query Access tries to set every fail record to true instead of just Test_Number 1. can someone please tell me what is wrong with the where clause?
dim updateFail as String
updateFail = "Update Tests Set fail = true Where Test_Number = '1';"
DoCmd.RunSQL updateFail
... -
highlight entire rows in a form
is there an easy way to only let a user select an entire row on a data sheet instead of an individual record?
Thanks in advance.
No activity results to display
Show More
Leave a comment: