Search results

  1. Eugene-LS

    Highlight Active Control

    This won't be a problem, since you can also use the function in your code. Private Sub ObjectName_GotFocus() FRMControlFocusInOut Me.Name, True 'Highlighting Control ' your code ... End Sub Private Sub ObjectName_LostFocus() FRMControlFocusInOut Me.Name, False 'Highlighting Control...
  2. Eugene-LS

    Highlight Active Control

    Yes! - we do. Step 01 Set BackColor (of selected fields) to #FFFDD1 Step 02 Set back style (of selected fields) = Transparent ... And "hocus pocus" is ready. :cool: Good luck!
  3. Eugene-LS

    Highlight Active Control

    I meant, almost the same result I think - the more choice of solutions - the better
  4. Eugene-LS

    Highlight Active Control

    01. Setting the field back color (Light Yellow) 02. Making the field back style transparent - Done! When the field gots focus, it restores the background color
  5. Eugene-LS

    Highlight Active Control

    And ... Almost the same without any code at all (y)
  6. Eugene-LS

    Highlight Active Control

    the same with less code ...
  7. Eugene-LS

    IIF and wild cards

    Try to use semicolons instead of commas as separators of function arguments
  8. Eugene-LS

    Help

    Public Function GetDaysFromText(vValue) As Integer Const sDelimiter$ = "," Dim sArr$() sArr = Split(vValue & "", sDelimiter) GetDaysFromText = UBound(sArr) + 1 End Function Test: ?GetDaysFromText("Mo, Tu, We, Th, Fr") 5
  9. Eugene-LS

    Save reports sent out

    'Saving a report to PDF Dim sPath$ sPath = "D:\temp\Report_01.pdf" DoCmd.OpenReport "DataTest", acViewPreview, , "RecIDAuto=1", acHidden DoCmd.OutputTo acOutputReport, "DataTest", acFormatPDF, sPath, False DoCmd.Close acReport, "DataTest" Or this way: Dim sReportName$...
  10. Eugene-LS

    Save reports sent out

    I'm sorry, I don't understand your question. What did you mean by "save it under their profile?"
  11. Eugene-LS

    Solved Copy data from listbox to subform

    No, unfortunately. Today I urgently need to fix reporting to the compulsory health insurance fund, not a lot of work, but it needs to be done.
  12. Eugene-LS

    Solved Copy data from listbox to subform

    It seems I found what's wrong. This is my mistake - as it turned out, you can not add records to the child table until the record is saved in the main one.
  13. Eugene-LS

    Solved Copy data from listbox to subform

    I can't get to that error. Please describe the exact order of your actions.
  14. Eugene-LS

    Solved Copy data from listbox to subform

    Hm ... Well.
  15. Eugene-LS

    Solved Copy data from listbox to subform

    Here you are! :giggle:
  16. Eugene-LS

    Export to excel converts to unicode chars

    Try to use CopyFromRecordset method.
  17. Eugene-LS

    Count number and multiply with field value

    try replacing the line: ... , Format(Sum([Nodes_UP].[UnitPrice]*Count([NodesList].[Nodes])),"Currency") AS Total ... to ... , Format(Count([UnitPrice])*Sum([Nodes]),"Currency") AS Total ... You have a round bracket in the wrong place.
Back
Top Bottom