Search results

  1. P

    Insert All

    Yeah the site is messing up a bit. All of the elements would remain constant in the insert query from post #3 except the SubRegion. So we would apply all of those criteria for each SubRegion. Example: If they selected: Region:North America SubRegion:All Segment:Food Sector:Candy Product:M&Ms...
  2. P

    Insert All

    Lol...that is where the problem comes in Rural...I am not sure of the best way to change the query. Do you have any suggestions?
  3. P

    Insert All

    Also I get "(All)" to appear in my combo box for the choices by doing: SELECT SubRegion_Table.SubRegion FROM SubRegion_Table WHERE (((SubRegion_Table.Region_ID)=Forms!Formulation_Combo!Region_Combo3)) UNION SELECT "(All)" FROM SubRegion_Table...
  4. P

    Insert All

    I insert records using SQL in both VB and the Access queries. An example of a VB insert is: CurrentDb.Execute "INSERT INTO Market_Table (Region, SubRegion, Segment, Sector, Product, Market_Size, Percentage, Volume, Ingredient)VALUES ('" & Me.Region_Combo.Column(1) & "', '" & Me.SubRegion_Combo...
  5. P

    Insert All

    What would be the best way to do the following scenario: I have a form where users can select continents. Another combo box is autofilled to show the respective countries. In that same combo box there is also an "All" option. So for North America the combo box would be filled with U.S., Mexico...
  6. P

    Data type mismatch in Criteria Expression

    Lol...that is exactly what I wrote above...the " & Me.Volumn_Text1 & " was in between the parethesis.
  7. P

    Data type mismatch in Criteria Expression

    Well I found a work around to this issue by doing it a different way...but maybe someone may need help with a similar problem.
  8. P

    Data type mismatch in Criteria Expression

    Also Me.Volume_Text1 should be allowed to be NULL as well.
  9. P

    Data type mismatch in Criteria Expression

    CurrentDb.Execute "DELETE MkFrmFunc_Table.Region, MkFrmFunc_Table.SubRegion, MkFrmFunc_Table.Segment, MkFrmFunc_Table.Sector, MkFrmFunc_Table.Product, MkFrmFunc_Table.Percentage, MkFrmFunc_Table.Volume, MkFrmFunc_Table.Ingredient FROM MkFrmFunc_Table WHERE ((MkFrmFunc_Table.Region = '" &...
  10. P

    Autofill Textboxes from Query

    I was wondering if anyone knew of a way to do this: I have a list of about 10 text boxes that I want to be autofilled based on a query I have. The query will return various numbers of results (never greater than 10) and I want each text box to be filled with one result of the query. The user...
  11. P

    Run Time Error '2465'

    That worked! Thanks Rural...you came through in the clutch, lol.
  12. P

    Run Time Error '2465'

    I apologize Rural...Mk/Frm/Func_Table IS a control source for my form.
  13. P

    Run Time Error '2465'

    Keith: I did rename the table and that didnt help. Rural: Mk/Frm/Func_Table is just another table in my db.
  14. P

    Run Time Error '2465'

    I am getting the error that says "Microsoft Office Access cant find the field 'l' referred to in your expression" It happens at this line of code: If ([Mk/Frm/Func_Table].Market = Me.Market_Combo2.Column(1)) Then Mk/Frm/Func_Table is in brackets due to the '/' being part of the table name. Any...
  15. P

    Update Query gives error

    Man...it still gives me that error even after adding the WHERE statement Ryan wrote of to address where to place the update.
  16. P

    Update Query gives error

    Can u give me an example of how to use the join in my statement Brian?
  17. P

    Update Query gives error

    Joined you say? Can you elaborate a bit.
  18. P

    Update Query gives error

    Yep, I can change/add new records or data...any more possible solutions?
  19. P

    Update Query gives error

    Nah...those were just pasting errors. I wish that was the issue though, lol...it would be easier to figure that out.
  20. P

    Update Query gives error

    To give a bit more info I want all the locations in the "Food_Table" that match my conditions in the WHERE statement to be updated to the new "Delivery_Size" when a user puts in a new delivery size in my form.
Back
Top Bottom