User Profile

Collapse

Profile Sidebar

Collapse
hawaiijeff
hawaiijeff
Last Activity: Mar 27 '08, 01:25 AM
Joined: Oct 18 '07
Location: Hawaii
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • hawaiijeff
    replied to SQL query in Access error
    It always seems that you ask everyone about a problem and get no response, and then the second you post it online somebody tells you the answer. Apparently this query is not being used in the macro, as I thought it was, the code was imbedded into the macro, which explains why the table is being updated correctly.
    See more | Go to post

    Leave a comment:


  • hawaiijeff
    started a topic SQL query in Access error

    SQL query in Access error

    I have a database in Access 2003 that is attempting to insert rows from table A into table B. One of the columns in table B is a date, which is derived by taking the minimum date from table A and using that to populate every row that is inserted into table B at this time. The insert query in SQL is below:

    Code:
    [I]INSERT INTO tblSUPERVISOR_SUMMARY (WEEK, SUPERVISOR, other stuff)
    SELECT (select min([ACTUAL DATE IN]) from krtimecsv)[/]
    ...
    See more | Go to post

  • hawaiijeff
    started a topic compacting access database from VBA code

    compacting access database from VBA code

    I have an access database with some VBA code. The vba code is started by a macro and basically deletes rows from tables and loads new data from an external file. After that VBA code has run I would like the macro to compact the database so I used the RunCommand--> CompactDatabase , but it didn't do anything. Everything worked as expected but the database was not compacted and I received no error message. What did I do wrong?
    See more | Go to post

  • hawaiijeff
    replied to Stop access from changing SQL queries
    I feared this would be the answer. It seems like there should be an option to turn it off for instances when time (or processing power or memory) is not a critical factor. For example, I'm dealing with a relatively small database and if the query takes twice as long as normal, that's pretty irrelevant to me. A half second or one second really doesn't matter. I thought that I remember that Oracle had a way that you could turn off the optimizer....
    See more | Go to post

    Leave a comment:


  • hawaiijeff
    started a topic Stop access from changing SQL queries

    Stop access from changing SQL queries

    Is there any way to stop access (Access 2000) from changing the syntax of my SQL queries? For example, I don't always put the table_name.[field] because it makes it hard to read. Access doesn't have a problem running the query and letting me return to the same SQL view right after that. But when I save the query, close it, and open it up again it has made all sorts of modifications that make it hard for me to read. The other thing that it does...
    See more | Go to post

  • hawaiijeff
    started a topic color on command buttons

    color on command buttons

    Is there anyway to make a command button a certain color (like yellow) and still have a caption on it? I have not been able to figure this out.
    See more | Go to post

  • hawaiijeff
    replied to grouping radio buttons
    I'm still not getting that to work. When I put the Option group down first and then drop new radio buttons into the option group it works fine. I was trying to take existing radio buttons on a form and move them into an existing option group. I guess it's kind of stupid because I can just make new buttons and it works and I don't lose any substantial work that I've done. I guess this is one of those things where there's an order in which you...
    See more | Go to post

    Leave a comment:


  • hawaiijeff
    replied to grouping radio buttons
    just dropping them into the existing frame didn't change anything. I waited for the frame to change colors before I dropped it, but it never did. Am I doing something wrong?

    As a side note, I went down to the IT department and complained about all of the extras not being loaded and they gave me the disk so I loaded all of them up. Now I would like to know how to do it manually just for the sake of pure trivia (or if I ever experience...
    See more | Go to post

    Leave a comment:


  • hawaiijeff
    replied to grouping radio buttons
    OK, when I use the Option group it puts the object down there and tries to start the wizard for it. In my companies infinite wisdom they did not install all of the wizards. How do you manually get the radio buttons to be associated with that group?
    See more | Go to post

    Leave a comment:


  • hawaiijeff
    started a topic grouping radio buttons

    grouping radio buttons

    OK, this is a newbie question that I can't seem to find the answer to. I'm in Access 2002 and trying to group radio buttons together so that only one of them can be clicked at a time. I can't seem to figure it out. This one won't require an expert to answer! Thanks.
    See more | Go to post

  • hawaiijeff
    replied to maximize form
    Fantastic! It did exactly what I needed. Thanks.
    See more | Go to post

    Leave a comment:


  • hawaiijeff
    started a topic maximize form

    maximize form

    I thought I solved this problem before, but apparently not. I have a form called main_menu which contains a whole bunch of buttons to access other forms. One of those buttons simply opens a table in datasheet view. when I click that button to view the table and then close the table to return to the main menu I find that the main menu is no longer maximized. I would really like the main menu to stay maximized all the time, even if something else...
    See more | Go to post

  • That was what I was thinking about _change(). The calculation for textbox D is done directly in the text box itself. The data control source property for textbox D is :

    =[A]-[C]

    I did the conditional formatting and it worked perfectly. Didn't even realize that was available. Thanks for the simple fix.
    See more | Go to post

    Leave a comment:


  • hawaiijeff
    started a topic conditionally changing backcolor of textbox

    conditionally changing backcolor of textbox

    I have a form with four textboxes: A, B, C and D. Textbox A contains a date value. Textbox B is entered by the user, at which point the program locates a value in a table and uses that value to populate textbox C. Textbox D simply displays the difference between textbox A and C. After textbox C is populated and textbox D is calculated, I want the program to see if textbox D is larger than 5, if so I want it to change the background color to red....
    See more | Go to post

  • hawaiijeff
    replied to setting form width in access
    Thanks everyone for the help. I used a hybrid of all the answers. I set the form to be a pop-up and used the code to adjust it's size and position.
    See more | Go to post

    Leave a comment:


  • hawaiijeff
    started a topic setting form width in access

    setting form width in access

    I'm trying to set the width of a form so that it's only about 3 inches wide on the screen, but it keeps maximizing itself. If the calling form is maximized it immediately goes to maximized. I'd like to set the size of the form in either VBA or in the properties window and have it stay that way whenever the form is called.
    See more | Go to post

  • The calculations that I'm performing are somewhat complex and the intermediate steps are to be shown on the report. For example, in the detail section I have a row for each employee and the columns headings are days of the week with overtime hours worked on those days populating it. I can perform simple calculations like summing them up, and that will move over to excel, but not more complex calculations like finding out what percentage of all...
    See more | Go to post

    Leave a comment:


  • hawaiijeff
    started a topic Exporting access report to Excel with all data

    Exporting access report to Excel with all data

    I have a report that I built in Access 2002. I built it with the report wizard, but then went into design mode and added a extra information which was calculations off the existing fields in the report (these calculated values are not pulled in the original query). So the report looks great and performs as expected, but when I export it to Excel I lose all of the extra fields that I added (and of course all of the formatting). All that it exports...
    See more | Go to post

  • hawaiijeff
    replied to SetFocus not working
    Thanks for everyone's suggestions. I finally got it to work by checking the properties. I always seem to go for the complicated reason first instead of looking at something simple like the properties.
    See more | Go to post

    Leave a comment:


  • hawaiijeff
    replied to SetFocus not working
    Thank you for the lesson on SetFocus, I had a feeling something like that was happening. I wrote the following to handle this and it's still not returning focus to the tanker_txtbx textbox.

    Code:
    Private Sub tanker_txtbx_LostFocus()
    MsgBox IsNull(tanker_txtbx.Value)
    If IsNull(tanker_txtbx.Value) Then
    tanker_txtbx.SetFocus
    End If
    
    End Sub
    I put the message box in there...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...