Recent content by fatboy95

  1. F

    Help going to newest record

    I use the below code to add a record to my database. It works great except I just can't figure out how to move to the newest record added to the form/database. If you don't mind taking a look at it and see if you can find what I am missing? Thanks. If Not Form.NewRecord Then If (Not...
  2. F

    Open a form on a set record

    ShaneMan - I want to thank you for helping me first of all. I do like your suggestion and I think I am going to try it. The main reason I don't won't to use a drop down list is that it creates a risk that someone will select the wrong shop and enter data for their shop into it and then loose it...
  3. F

    Open a form on a set record

    Yeah, I was thinking of that to.. but to make this easier on my users and be able to open up the shop with all the required data that I need, which is coming from multipule tables, this is the only way I can see doing it. I am very rusty at this so I may be missing on other options available to...
  4. F

    Open a form on a set record

    First off I think I got it working the way I want. At least it seems to be working. See the code below. I was using a list box to start with and it works fine, but I wanted to just have a button that is asigned to each Shop. I guess I kind of wanted to have something like a Switchboard but I...
  5. F

    Open a form on a set record

    I am starting to get back into access and I am finding out that I am very rusty at it. I am having a hard time figuring out how to open a form from a button on a specific record. What I have is a table that is built like this: Shop Table ShopID Shop What I want to do is have a form that...
  6. F

    Small problem with the following code.

    I tried to concantenate the field but for some reason I couldn't get it to work with a single field. I have a form for engine information then I have a form that shows all the parts on order for the engine and its pertinate info. I want to be able to see just the part name on order on m form...
  7. F

    Small problem with the following code.

    Basically I am concantenating the field and it is working great with the code above unless I only have one partonorder. IE Lets say I have only engineid 3 as and that is all I have for engines in my database and then I only order one part for it lets say a intake. When I run the above code it...
  8. F

    Small problem with the following code.

    One table inputs the data and the other sorts in into on box per the engine id so that I am able to show it on a seperate from. I am really frustrated about this because this is the last thing I need to fix for my database to have it operational for use...
  9. F

    Small problem with the following code.

    When I order parts for a engine it goes into a seperate table from the engine table EnginePartsOnOrder. I have a couple of query's that make a new table to put the EngineID with the PartName and then this code copies each EngineID and all its parts on order into one cell letting me be able to...
  10. F

    Small problem with the following code.

    Ok I remarked the error handler out and when I ran it it gave me 3201 for the code. This is the line it stopped at If rsFind.Fields("EngineID") = EngineID Then I don't really understand what is wrong with this code. If I have only one record in my database it errors with the above. If I have...
  11. F

    Small problem with the following code.

    This is exactly what it says: Either BOF or EOF is True, or the current record has been deleted. Requested opertation requires a current record. I do have at least one record in the table but for some reason it will not work with only one. As soon as I add a second record it works fine. Thanks
  12. F

    Small problem with the following code.

    Someone here helped me with this code before but I am still having a small problem with it. If I only have one record for the PartName or nothing at all it errors out with something about EOF or BOF. I am not sure what to change to keep it from doing this. On Error GoTo Err_Handler Dim s As...
  13. F

    If statement problem

    I am pretty sure I tried that but will give it a shot again. thanks
  14. F

    If statement problem

    I want to say thanks for all the help I have recieved from here. This is the best site I have seen of this kind! My statement needs to work basically like this: If order is not null then if status is = "FMC" MsgBox "You still have an order!" end if else msgbox "FMC is now selected" end...
  15. F

    reference a label?

    thanks that was it
Back
Top Bottom