Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: GoinDeep
  • Order by date
  1. GoinDeep

    Deleting a record when that UniqueID already exhist

    Thanks PHV. That is one I did not try. I knew Cancel wans't right...I just never thought of something that simple.
  2. GoinDeep

    Changing a text boxes position after update of another text box

    Great...I found the problem...I forgot to change the "Else" portion. That was very helpful...thank you.
  3. GoinDeep

    Changing a text boxes position after update of another text box

    I figured it was something like that...however, I tried that and it is still sending the text boxes way off. The measurment I have is from the Properties menu
  4. GoinDeep

    Changing a text boxes position after update of another text box

    Well, I actually errored in my subject. What I really need is when this particular text box equals "T", then I don't need this other text box to display and I want to move another in it's place. So I used OnCurrent for that, and on the text boxes after update event I used Form_Current. I am...
  5. GoinDeep

    Changing a text boxes position after update of another text box

    I have never tried changing the position of a text box on a form which is probably why I am doing it wrong...I simply tried the following: On Current: If Me.textbox = "T" Then Me.textbox1.Visible = False Me.textbox2.left = 1.333 Me.textbox2.top = 1.8333 Else Then...
  6. GoinDeep

    Why would the Dropdown event on this combo get this error...

    Can somebody help me figure out why the dropdown portion of the following code gives me the error: "You can't reference a property or method for a control unless the control has the focus." This code works for me on other combo's, and it actually works for this combo, but it gives me that...
  7. GoinDeep

    Best way to identify no record when opening a form

    Nevermind. I found the problem.
  8. GoinDeep

    Best way to identify no record when opening a form

    I have a query where I use a simple "Like [Enter Number]" to open a form. What is the best way to approach when no record is returned? I just want to put a message box saying there is no record matching that criteria...then cancel. I've tried OnOpen and OnLoad, but thats not working. Any help...
  9. GoinDeep

    Error on INSERT INTO string

    Bam...that was it Melagan. Thanks for all your help. It wouldn't even catch that in the immed window for some reason. I don't know. My head is spinning now.
  10. GoinDeep

    Error on INSERT INTO string

    I like that method. I am still getting the same error. I can't find where in this string I am going wrong. I narrowed it down to strSQL2, but I'm stumped...the error is telling me number of fields is not matching the string, so I can only assume I have a comma in the wrong place and I can't find...
  11. GoinDeep

    Error on INSERT INTO string

    Okay, there was a problem with my dlookup string that I fixed. Now I am getting the error "Number of query values and destination fields are not the same" Here it is: Dim strServerName As String strServerName = DLookup("ServerName", "tbl_Servers", "ServerID ='" & [cboServerID] & "'") & "')"...
  12. GoinDeep

    Error on INSERT INTO string

    You guys are a lot of help. I am close. I am trying to run 2 different "INSERT INTO" commands in the after update event, and it just doesn't work that way apparently. I get an error "2001" that says "You cancelled the previous operation." Here's the code I am using: Dim strServerName As String...
  13. GoinDeep

    Error on INSERT INTO string

    I just yesterday got a lot of help on this, and learned a bunch, but I guess not enough. See Thread705-1391485 I am trying to add the last string, but obviously DLookUp is not the proper format, or I am doing it wrong: DoCmd.RunSQL "INSERT INTO tbl_Activities(EntityID, ActivityDate...
  14. GoinDeep

    Creating a record in a table using code after updating a form

    We'll, I guess one more thing...I do I trap and disgard the "About to append" warning?
  15. GoinDeep

    Creating a record in a table using code after updating a form

    Boom...that was it. Now I actually forgot to add one more item...that is "Activity Code" which is "WE" which is "Work Order Entered". I added it as follows, but I am getting the old "Missing Operator Error", and SQL is foreign to me. It is just a text value. DoCmd.RunSQL "INSERT INTO...
  16. GoinDeep

    Creating a record in a table using code after updating a form

    Ok, I am getting s "Syntex Error in INSERT INTO statement" Does it look right? DoCmd.RunSQL "INSERT INTO tbl_Activities(OrderID, ActivityDate, ActivityTime, EmployeeID" _ & " VALUES (" & Me!txtOrderID & "," _ & "#" & Format(Now, "yyyy-mm-dd") & "#," _ & "#" & Format(Now...
  17. GoinDeep

    Creating a record in a table using code after updating a form

    Only because that table already has date and time as 2 fields.

Part and Inventory Search

Back
Top