I'm using an append query that references a form for the data to be inserted into a table.
The only field that does not reference the form is DATE. I'm using the Date() function to insert a date stamp to the table. I have other databases that performs this without a hitch.
I'm not getting...
Radman,<br><br>In the properties for the report, look for two Properties, one called "On Open", the Other "On Close"<br><br>In the On Open property use the code builder and add this:<br><br>DoCmd.Maximize<br><br>In the On Close add this:<br><br>DoCmd.Restore<br><br><br>The On...
Rory,<br><br>Here is a less cumbersome method that was discussed yesterday.<br><br><br>Try inserting one line of code behind the "On Lost Focus" for each field. Use the code builder behind the property and add:<br><br>DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, ...
Here is another method if you don't want to reference the form.<br><br>Enter this in a text box on the report header or page header.<br><br>="Date Range: " & DMin("Date","Query1") & " - " & DMax("Date","Query1")<br><br>substitute Query1...
Hi Tom,<br><br>Here is one method to consider.<br><br>Make a form with two text fields. Name them StartDate and EndDate. Reference the query to the form:<br><br>in the query grid, date field criteria type:<br><br>Between forms!YourForm!StartDate and...
I usually eliminate the "Append/update/delete query Notifications" with:<br><br>Docmd.Setwarnings FALSE<br>DoCmd.RunSQL strSQL<br>Docmd.Setwarnings TRUE<br><br><br><br><br>
This is one possible solution; <br>Check the properties in both the form and header section. Look for the DISPLAY WHEN property and make sure they are both set to "always". The 3 possible settings for the DISPLAY WHEN property are...
No problem xtreme1. Thanks for the update on the command. I'm using access 97 at home and 2000 at work and I'm still learning the new commands.
I Figured this one out...<br><br>I used the graph wizard on the first 2 data sets and added the other 2 manually. The one's I added manually didn't show up in design mode. Maybe a flaw/oversight on Microsoft's part. I re-ran the wizard on all 4 datasets and they...
A solution might be to build a couple of temporary "buffer" tables that look exactly like your existing tables.<br><br>The idea here is that the data that they are entering is going to a temporary storage area. When the user hits the save button, an append query runs which...
I'm using Microsoft Graph version 9.xx to plot 4 data points on the X axis. The 3rd trend line is defaulting to yellow which is to light when I print the graph. When I am in design mode on the graph, only the first two trend lines show up. The only apparent way...
Here is a quick solution that usually works for me.<br><br>Use the SaveRecord command before closing the update form that is based on Table C. Here is the code.<br><br>DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70<br><br>Chances are you have a button to close...
Is there anyway to limit the number of records a query returns to 5 in a local table<br><br>The Access help says that the MAX RECORDS property is only for an ODBC source. I'm using a local mdb and trying to return the TOP 5 records. The problem: If there is a tie...
Here is a way to reference form fields back to a query:<br><br>Create a form named Test_frm<br><br>Create two text boxes on the form:<br> Name the first one : StartDate<br> Name the second one: EndDate<br><br>In the criteria field (in the query) type...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.