User Profile

Collapse

Profile Sidebar

Collapse
phytorion
phytorion
Last Activity: Mar 27 '08, 01:31 PM
Joined: Feb 21 '07
Location: Outside of Milwaukee, WI
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • phytorion
    replied to Loading text box after combobox selection
    errors out and say i can't have an aggregate function. I'm not really sure what the limits are to the Dlookup() are but i'm guessing it can only handle one statement in the where clause. Is there a function i'm not thinking of that i should be using?...
    See more | Go to post

    Leave a comment:


  • phytorion
    started a topic Loading text box after combobox selection

    Loading text box after combobox selection

    This seems like it should be simple to do but i can't seem to get anything to work. I result i'm looking for is after a user selects a "Build Name" from a combo box it goes to the the table "tblWORK_DETAIL " and returns the field(in this case "RESOURCE_I D" where "WORK_DATE" is the newest work date for the given "BUILD_NAME ".

    This is the SQL:
    Code:
    SELECT 
    A.RESOURCE_ID
    ...
    See more | Go to post

  • phytorion
    started a topic Updating a Table from VBA

    Updating a Table from VBA

    I'm trying to to update columns in a table in access from values entered in a form. I think my code is bombing because it doesn't know the table i'm trying to update. Does anyone know the syntax to point to an access table? (In this case tblWORK_DETAIL) This is a simplified version of what i'm trying to do.

    Code:
    DoCmd.RunSQL ("Update " & tblWORK_DETAIL & "Set BUILD_NAME = " & Me.cboBUILD_NAME)
    ...
    See more | Go to post

  • phytorion
    replied to Using VBA SQL returned values
    Thanks NeoPa i think that should work.

    Eric...
    See more | Go to post

    Leave a comment:


  • phytorion
    started a topic Using VBA SQL returned values

    Using VBA SQL returned values

    so my problem is I want to use the values returned from the below SQL to populate textboxes etc. on my form. Is there a way to assign these values(VALUE1,V ALUE2) to variables?

    Thanks,
    Eric

    Code:
     Dim strSQL As String
       
          strSQL = "SELECT A.VALUE1, A.VALUE2 FROM tblWORK_DETAIL A WHERE    A.BUILD_NAME='" & Me.cboBUILD_NAME.Value & "’ " & _
    ...
    See more | Go to post

  • phytorion
    replied to xls calculating
    If i understand what your looking for. you can enter the formula =SUM(A1:A52) into the cell where you want to have the sum of all your weekly incomes from columns A1 to A52.
    You probably want to format the cells for currency as well. You does this by highlighting the entire column by right clicking on the A at the top and selecting "format cells" and selecting currency.

    Hope this helps,

    Eric...
    See more | Go to post

    Leave a comment:


  • phytorion
    replied to Auto filling ComboBox?
    It isn't really a solution for this problem i used and action query to add all the rows in one table so i didn't need the combo box to switch between the two tables.
    See more | Go to post

    Leave a comment:


  • phytorion
    replied to Auto filling ComboBox?
    Thanks for the help but i found a work around.

    Eric
    See more | Go to post

    Leave a comment:


  • phytorion
    replied to Querydef parameters issue
    Nevermind I solved the problem. Thanks for all the help

    Eric
    See more | Go to post

    Leave a comment:


  • phytorion
    replied to Querydef parameters issue
    Alright one more question...The DELETE SRCE_TBL_STRUCT URE.* seems to of solve my original problem,(atleas t its stepping further through before it errors out),but now its giving me an error saying i have to few parameters(expe cts 6). The problem is that the three parameters i listed are what identifies the rows i want to delete. Is there a way to pass a wildcard or ignore the rest of the parameters it's expecting?


    [code=vb]PARAMETERS...
    See more | Go to post

    Leave a comment:


  • phytorion
    replied to Querydef parameters issue
    Alright thank you for all your help. I think i know what i need to change now.


    Eric
    See more | Go to post

    Leave a comment:


  • phytorion
    replied to Querydef parameters issue
    Just to clarify my understanding. There is not a way to delete only certain rows in a join delete. So I'm going to have to delete everything and then reload the table....
    See more | Go to post

    Leave a comment:


  • phytorion
    replied to Auto filling ComboBox?
    Any tips on how to add a column to a linked table. It won't let me save a new column in the table. I need to insert the field to bind the combobox to.

    Eric...
    See more | Go to post

    Leave a comment:


  • phytorion
    started a topic Auto filling ComboBox?

    Auto filling ComboBox?

    idk why this is giving me such a problem but here it is. I need to add a combobox to a continuous form. This combobox needs to allow the user to select between "S" and "T" for each record in this recordset. I've tried to make it work selecting the values from a table and i've tried just having a valuelist in the combobox. both give me the same result when i run it, when you select a value it automatically selects that value...
    See more | Go to post

  • I thought that was the definition of Insanity....
    See more | Go to post

    Leave a comment:


  • phytorion
    replied to Coolest letter
    That would be a great spelling bee word. I could just see the look on contestants faces =O...
    See more | Go to post

    Leave a comment:


  • phytorion
    replied to Shell-less Turtle
    STREAKING!!

    123456789...
    See more | Go to post

    Leave a comment:


  • phytorion
    replied to Querydef parameters issue
    No it says "Specify the target table and records you want to Delete" in a msg box and then exits.
    See more | Go to post

    Leave a comment:


  • phytorion
    replied to Querydef parameters issue
    I've tried substutition variables and when i step through the VB code i can see that the correct variables are being looked up. i think that the error is coming when its trying to pass the actual parameters. This is the SQL for the delete query. Any ideas? Thanks

    Eric


    [code=sql]
    PARAMETERS
    [Target Table] Text ( 255 ),
    [App Vsn] Text ( 255 ),
    [Cust ID] Text ( 255 );
    DELETE...
    See more | Go to post

    Leave a comment:


  • phytorion
    replied to Querydef parameters issue
    Thanks for the reply. I've tried switching the the lines you suggested but it didn't seem to solve anything. I'm thinking this is going to be a little to involved for help over the web. Do you have any suggestions on Helpful reading material that covers querydefs in detail so i can better understand how they work?


    Eric
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...