Search results

  1. B

    One Query w/many different results

    Is there a way to write one query that will work for different criteria and is run by different buttons to produce bar graphs or a basic report depending on the button the user clicks??
  2. B

    Validation Rules

    Yes it does thank you!!
  3. B

    Validation Rules

    I went to the tblDownTime and made sure that it was set to Number and the area where you enter the general info I have Long Integer, General Number, and 0 decimal places. What else would you suggest I check?
  4. B

    Validation Rules

    It is bound to a field in the tblDownTime and I have it set to a number, yet it will still let me enter text. Do you think the if statement in the After_Update would force it to use only number entries?
  5. B

    Validation Rules

    I need to make sure that a user doesn't enter anything but a number in a text box. It is on frmDownTime and the name of the text box is dtDownTime. How would I go about entering this? Using the Properties, Validation??
  6. B

    Cascading combo boxes on form.

    This is the new code and it is pulling values now but only the numbers not names and it is not differentiating between the choices to force the cascading effect of making a particular choice. Any suggestions?? Private Sub Line_AfterUpdate() Me.MachineCenter.Enabled = True Me.MachineCenter =...
  7. B

    Cascading combo boxes on form.

    Can anyone help I am still stuck and I looked at the regular cascading combo boxes that go from one box to another but so for none are trying to cross a bridge table and I am at a complete standstill?????????????????????????:confused:
  8. B

    Cascading combo boxes on form.

    " SELECT tblLine.lineID, tblLineMach.lineID, tblLineMach.machID, tblMachCent.machID" & _ " FROM tblLine, tblLineMach, tblMachCent" & _ " INNER JOIN tblLine = tblLineMach = tblMachCent ON tblLine.lineID = tblLineMach.lineID AND tblLineMach.machID = tblMachCent.machID" & _ "...
  9. B

    Cascading combo boxes on form.

    When I created it in design view I went to the SQL and that is how I came up with this particular code for the query. I know the origional code worked along these same lines and I got the help for it on this forum, so I am not sure what you are meaning about placing the where clause in this...
  10. B

    Cascading combo boxes on form.

    Actually that is what I did. I used the query in design view to see the results I was looking for and this is what I got from it. So I putit in the code and I get a syntax error in the from statement. Help?!?
  11. B

    Cascading combo boxes on form.

    If anyone has any suggestions please I really need help. Is there any other way to force cascading combo boxes other than this or should I keep plugging away at the code I am currently working with?:confused:
  12. B

    Cascading combo boxes on form.

    I add all the tables to the from clause but I still get a syntex error in the from clause. Any suggestions of how to state it correctly?
  13. B

    Cascading combo boxes on form.

    I am using this code to force the population of a combo box on my form. Private Sub Line_AfterUpdate() Me.MachineCenter.Enabled = True Me.MachineCenter = Empty Me.MachineCenter.RowSource = " SELECT tblLine.lineName, tblLineMach.lineID, tblLineMach.machID, tblMachCent.machName" & _...
  14. B

    Cascading Combo Boxes in Form

    I have a form that has to have cascading combo boxes (3 boxes). When I created it before the code I used worked great but I had to redo the tables to include bridge tables with composite Primary Keys to get rid of redundant data. Can anyone help with this one? I have attached a copy of the DB.
  15. B

    Bridge Tables w/composite primary keys

    Got if figured out.
  16. B

    Bridge Tables w/composite primary keys

    I am creating a bridge table to get rid of redundant data. I am doing it by making a composite of the primary keys from the two tables I am bridging. The error message when I get to a certain point is "You cannot add or change a record because a related record is required in table tblMachCent."...
  17. B

    Using Forms to Update tables

    The user wants a form to update the tables I have created as new things come up. The first two tables follow the convention of using autonumber for the primary key which becomes the foreign key in the next table. The tables are the line, machine center, and category. He doesn't want just...
  18. B

    Using Forms to Update tables

    Would it work if I made the cascading combo boxes to give the user the information he needs and then created a text box for each individual field that the user wants to update with a button to update the record for each table?:confused:
  19. B

    Using Forms to Update tables

    How would you bind them depending on which one of the tables you want to update? I do have the text box but the only thing that changes is the catName field in the first row of the second table instead of the of the last row that allows the auto number to work.
  20. B

    Using Forms to Update tables

    How would you bind them depending on which one of the tables you want to update?
Back
Top Bottom