Search results

  1. T

    Solved vbinformation

    so i spent another 1 or 2 hours and found out that @isladogs ' function gives error when i use " in text. Public Function FormattedMsgBox(Prompt As String, Optional Buttons As VbMsgBoxStyle = vbOKOnly, _ Optional title As String = vbNullString, Optional HelpFile As Variant, Optional...
  2. T

    Solved vbinformation

    thank you, it helped !
  3. T

    Solved vbinformation

    so original stable which works fine is Private Sub CmdMap_Click() Dim strMessage strMessage = "Ensure both a Risk Code and a Location are Entered." If IsNull(Me.RiskCode) Or Me.RiskCode = 26 Or (Me.locationID & "") = "" Then MsgBox strMessage, vbInformation, "Required Fields" Else...
  4. T

    Solved vbinformation

    but i dont need this window \ pup up. let me describe it in another way. i would like: if l click on "map" it checks if RiskCode =0 or RiskCode=26 or Me.locationID & "", then msgbox "critical data are missed" if riskcode has some value from 1 up to 25 (can't be any different number) and...
  5. T

    Solved vbinformation

    hey guys ! so i have Private Sub CmdMap2_Click() Dim strMessage strMessage = FormattedMsgBox(DLookup("nonEnglishText", "Tmsgbox", "msgID=7") & vbCrLf & vbCrLf & DLookup("nonEnglishText", "Tmsgbox", "msgID=8") & vbCrLf & DLookup("nonEnglishText", "Tmsgbox", "msgID=9") & vbCrLf &...
  6. T

    Solved missing empty data

    it worked ! thank you very much !
  7. T

    Solved missing empty data

    so i have 2 continues forms and their data source is a crosstab query but one shows locations without specified records and another form - doesnt. this doesn't work for me , as those forms are in my main menu and both located next to each other and location data should be exactly next to...
  8. T

    Solved im stuck with queries

    looks like a wrong query was attached in record source. sorry.
  9. T

    Solved im stuck with queries

    so i have 2 union queries. 1. SELECT * from qryCountSiteActions UNION Select * from qryCountSiteOverdue UNION Select * from qryCountSiteStatusNew Union Select * from qryCountSiteStatusInProgress UNION Select * from qryCountSiteStatusCompleted ORDER BY 1, 3; 2. SELECT * from...
  10. T

    Solved msg box vlookup

    oh got it ! , just need to & in prompt string after dlookup ends
  11. T

    Solved msg box vlookup

    btw, if there is a way to move part of txt which is in NonEnglishText to 2nd line ? like & vbCrLf &
  12. T

    Solved msg box vlookup

    @isladogs thank you for your help, Sir!
  13. T

    Solved msg box vlookup

    oh.. .i didn't ! damn. i feel so dummy right now. now i did and everything works like magic !! thank you very much guys ! !
  14. T

    Solved msg box vlookup

    it was for standard got it now! thank you. for some reason it doesnt work for me... my data source once i remove the word "formatted" it works , but can't display unicode. so the problem is ... it just doesnt like when i add "formatted".
  15. T

    Solved msg box vlookup

    i thought it could read non-unicode... :(
  16. T

    Solved msg box vlookup

    Tmsgbox
  17. T

    Solved msg box vlookup

    i've looked at it and either i didn't find it or just simple didn't get it. isn't the simple way to do something like this ? If Me.DueDate < Date Then rtn = MsgBox(DLookup("nonEnglishMsgBoxTxt", "Tmsgbox", "ID=1"), vbOKCancel, "Verify Date") but for some reason it doesnt work
  18. T

    thanks to ...

    i would really like to take a minute and honorably thank @MajP this man has helped me so much. i would like to ask AWF reps to give him some kinda MVP. well , if u have such though :) thank you VERY MUCH @MajP. hats off. wish u good health to you and your family. there are so many amazing ppl...
  19. T

    Solved msg box vlookup

    hey guys, hope u r doing well today. i have a vba code with dialog pop up like If Me.DueDate < Date Then rtn = MsgBox("Due date is in the past. Verify this is correct. If correct select OK if not select CANCEL", vbOKCancel, "Verify Date") so i created a table how do i vlookup...
  20. T

    Bring to Front over a subform

    is there a way to make pup up goes in front of cell where i click instead of below? like if i click at 12 and this button pops up just in front of cell with 12 number x coordinates = y coordinates
Back
Top Bottom