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 SkipVought 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: *

  1. NeoZakz

    How do subforms auto update?

    Im using a Form with 2 other subforms inside of it. Im working with the 2 subforms inside and recently I got the code to make them update dates when I changed the number and dates in the milestones. But the problem is it only changes when I click on the field that I have the code in. Ive...
  2. NeoZakz

    Can you auto-lookup in a list box in VB?

    Private Sub days_after_AfterUpdate() If IsNull(Me![Combo119]) Then Me![Date Due] = DateAdd("d", Me![Seq], Me![Date Due]) Else DLookup("[Miledate]", "Mile1", Me![Date Due].Value = Me![Combo119].Value) = Me![Date Due].Value = DateAdd("d", Me![Seq]...
  3. NeoZakz

    How do I put Java Script in an outlook email?

    I want to put a java script in the background code that runs when the message is open anyone know how to do that?
  4. NeoZakz

    VB reading a combo box entry?

    How do I get the VB to read whats in the combo box with out making it an = "blank"? Heres what Im using: If IsNull(Me![Combo119]) Then Me![Date Due] = DateAdd("d", Me![Seq], Me![Date Due]) Else DLookup("[Miledate]", "Mile1", Me![Date Due] = Me...
  5. NeoZakz

    How do I get Dlookup to use a value from the combo box?

    Does the SQL work in a VB coded if statement? if so how do I get it to look in SQL from there. This is a form its going to/from as well.
  6. NeoZakz

    How do I get Dlookup to use a value from the combo box?

    AHh yea good idea. Thats why I come here heh. Thanks alot.
  7. NeoZakz

    How do I get Dlookup to use a value from the combo box?

    Im using this line here: DLookup("[Miledate]", "Mile1", Me![Date Due] = Me![Govt]) And it wants me to enter an object for Me![Govt] so it looks like this Me![Govt] = "PPR1". Im trying to get the Dlookup to lookup the value thats in the combo box because theres a...
  8. NeoZakz

    How do you use a combo box in an If statement?

    It looks like one of those 2 will work. Thanks alot I just wasn't sure how to get it to read a null value if there is one. Ill go try those out. Thanks again.
  9. NeoZakz

    How do you use a combo box in an If statement?

    Im trying to write an if in VB that will check a combo box and see if its blank or not and if so go onto one of the other statements. Anyway is there a way to do that? If Me![Govt] Is Null Then Didn't work so Im assuming theres a special way to check combo box's?
  10. NeoZakz

    Excel wont go to landscape to print

    Anyone know what would cause the Excel program to lock in portrait view. I cant figure out why it is locked in Portrait view and wont change to landscape. Several of my office mates are also having this problem anyone have any idea what would cause this? It doesnt matter what excel worksheet...
  11. NeoZakz

    Can someone tell me what field/form this code is looking for?

    Oy, nevermind silly me. Forgot to take the brackets [] off the Me haha.
  12. NeoZakz

    Can someone tell me what field/form this code is looking for?

    Other than the obvious 2 forms and fields which I have checked and are there it seems to think theres a field called forms somewhere. Can anyone tell me why it thinks that from this code? [ME]![Date Due] = DateAdd("d", [allTracking]![Seq], [ME]![Milestone])
  13. NeoZakz

    Having a problem with this string any suggestions?

    If Is Not Null([Me!Combo119]) Then Me![Date Due] = DateAdd("d", Me![Seq], Me![miledate]) still gives me an error on the Is Not Null part, had to change it around to this before it would accept. If Is Not Null Then Me![Date Due] = DateAdd("d", Me![Seq], Me![miledate]).
  14. NeoZakz

    Having a problem with this string any suggestions?

    I'm using this string here to do a date update for a form in a subform. If Me![Combo119] Is Not Null Then Me![Date Due] = DateAdd("d", Me![Seq], Me![miledate]) The problem is the first part of the string says it needs an object, "If Me![Combo119] Is Not Null Then&quot...
  15. NeoZakz

    How do you multiply a Currency and a number?

    This should be pretty simple but its just not working for me. Im just trying to multiply a cost * Days type thing and get a total in a query, But it isnt putting anything at all. What command do you use in a query to multiply stuff together?
  16. NeoZakz

    Can someone tell me what this VB code does?

    Okay thanks, Ill look into it.
  17. NeoZakz

    Can someone tell me what this VB code does?

    Im fixing a database and this is the only thing I cant figure out. Its supposedly code to take a number of days change +/- and then recalculate the date's due for any documents with the same milestone number. Any ideas on how to do that or what this actually does would be appreciated...
  18. NeoZakz

    How can I change this line to use it in a report?

    Thanks a lot, I'll go give it a shot now.
  19. NeoZakz

    How can I change this line to use it in a report?

    =DLookUp("[suppl]","MAKEBUY","[part]=Forms![Change Board Records]![P_N]") Thats the line I'm trying to change to use in a report for the same information. I tried to change it to this: =DLookUp("[suppl]","MAKEBUY","[part]= Reports![CBR...
  20. NeoZakz

    Query Question

    Actually nm, I figured it out I was doing it in the wrong place. All I had to do was put it down in the Criteria [Look up LC] and it worked.

Part and Inventory Search

Back
Top