The data points in a scatter chart do not show when it's form is opened on our Vista machine. If you double click on the chart they appear. The form works fine on an XP.
Any help. Thank you.
I had previously created the Word document (a letter) to look to the Access database to fill in certain information in the letter by running a query in the database. The query does have criteria set. (e.g., a date field allows the user to enter a time frame.....such as all records entered...
The following coding checks an ODBC table to see if the connection is OK.
How do I get it to tell the macro that runs it to stop if the connection is bad?
Public Function IsTableThere()
On Error GoTo Err_IsTableThere
DoCmd.OpenTable "PS$O_Table"
DoCmd.Close acTable, "PS$O_Table", acSaveNo...
I did this
If [Supply Voltage] = 36.5 Then
strinput = Dir("F:\NR-Scanned-Drawings\Customer Connection CD\Overhead\33kV Customer-OH\" & Me("drawing") & ".tif")
If strinput <> "" Then
strinput = "F:\NR-Scanned-Drawings\Customer Connection CD\Overhead\33kV Customer-OH\" &...
This coding looks for a drawing in one folder. If it can't find it there it produces an error which sends it to
err_drawing to look in the other folder. If it can't find it in the second folder it produces a Run-time '490' message box.
In place of the Run-time message box I would like it to...
Microsoft shuts down the application when the voltage field is empty.
I tried "if [voltage] is null goto exit_Drawing_DblClick",but it didn't work.
Private Sub Drawing_Click()
Dim strinput As String
Dim Name As String
Dim symbol As String
On Error GoTo err_drawing
If [Voltage] = 4.34 Then...
The first query:
SELECT StationDaylyPeaksT.CTI_MTRID, StationDaylyPeaksT.Year, StationDaylyPeaksT.Week, Max(StationDaylyPeaksT.KW) AS KW
FROM StationDaylyPeaksT
GROUP BY StationDaylyPeaksT.CTI_MTRID, StationDaylyPeaksT.Year, StationDaylyPeaksT.Week;
Then, the second:
SELECT MV90SubKeys.CM_NAME...
Maybe I should have said SQL.
What I have done in the past was to creat a query in design mode, group it by week to get the max CTH_KVAH, then link that query back to the table to get the rest of the record.
It seemed clumsy. I wanted it to be easier for someone in the future to work on...
I would like to see an example of coding that would copy the entire record that contains the maximum value in a field by week or month to another table.
Thank you all for your time.
The d3y.Fields(i).value worked.
What I should have told you in the beginning was that when I created the table I named those fields KVA(1),KVA(2)...KVA(36). I did that so that I could use them in a do loop.
Now it seems that the parentheses were a waste of effort...
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.