Search results

  1. SHANEMAC51

    how to create multilevel subfolder and transfer the files to the last subfolder

    Private Sub cmdFolder2_Click() Dim sPath As String sPath = Environ$("UserProfile") & "\documents\test" & Format(Now(), "yyyy_mm_dd_hh_nn_ss") forceMKDir (sPath) End Sub Public Function forceMKDir(ByVal sPath As String) Dim v As Variant Dim s As String Dim i As Integer...
  2. SHANEMAC51

    how to create multilevel subfolder and transfer the files to the last subfolder

    Private Sub cmdFolder_Click() Dim sPath As String, d1 d1 = Format(Now(), "yyyy-mm-dd hh-nn-ss") d1 = Replace(d1, ":", "_") d1 = Replace(d1, ".", "_") d1 = Replace(d1, "\", "_") sPath = "c:\This PC3\Documents\Test" & d1 forceMKDir (sPath) '' start1 '''' c:\This...
  3. SHANEMAC51

    Quicken into Check Register

    apparently the program would split your table into 2, adding fields for communication the names of the fields are conditional, since I do not know the real ones
  4. SHANEMAC51

    Solved Filtered Meetings Query By Members

    en: I always debug in a regular macro, which is easily translated into code for verification the difference with you is the name in quotation marks with me - through an exclamation mark ! ru: я всегда отлаживаю в обычном макросе, который легко переводится в код для проверки отличие у вас -...
  5. SHANEMAC51

    Solved Dynamic Report problem (over 10 years)

    in Greek there should be only data and TEXT on buttons and label
  6. SHANEMAC51

    Solved Dynamic Report problem (over 10 years)

    Forms with filters do not open, apparently Greek letters in the names of controls affect additionally, this is affected by the fact that subordinate forms are filtered through direct access to the fields of the main form (with Greek characters), in which the selection conditions are entered it...
  7. SHANEMAC51

    Solved Dynamic Report problem (over 10 years)

    the main thing that is practically necessary in such databases is the names of objects (tables, forms, reports, queries, fields) 1 english name - preferably 2 or at least the English transcription moreover, without spaces and other separators, only the underscore character is allowed, for...
  8. SHANEMAC51

    Solved Filtered Meetings Query By Members

    Function MACRO21() With CodeContextObject DoCmd.OpenForm "MainForm", acNormal, "", "", , acNormal If (.MeetingByMember = True) Then Forms!MainForm.RecordSource = "MeetingsByMemberQ" Else Forms!MainForm.RecordSource = "AllMeetingsQ" End...
  9. SHANEMAC51

    Solved Filtered Meetings Query By Members

    'converting an embedded macro into code shows that the macro is incorrect '------------------------------------------------------------ Function macro1() On Error GoTo macro1_Err With CodeContextObject DoCmd.OpenForm "MainForm", acNormal, "", "", , acNormal If...
  10. SHANEMAC51

    Max Date with Value List Criteria

    SELECT Medic, Max( [Flight Date]) AS [LastFlight], [Medic Activities] FROM [Flight Card] WHERE [Medic Activities].Value = "1" GROUP BY Medic union all SELECT Medic, Max( [Flight Date]) AS [LastFlight], [Medic Activities] FROM [Flight Card] WHERE [Medic Activities].Value = "2" GROUP BY...
  11. SHANEMAC51

    Max Date with Value List Criteria

    your query uses 1 table, but at least 3 of them should be penalized, not counting directories 1 flights(code, date, route, reason for flight) 2 flight+ people(code, flight code, person code, person position) 3 useful human activity(code,code flights+ people, activities, what additions) with...
  12. SHANEMAC51

    Solved Dynamic Report problem (over 10 years)

    PERHAPS IT IS ENOUGH TO FIX ONLY the CODE I will try on the source base, without my other fixes
  13. SHANEMAC51

    Solved Dynamic Report problem (over 10 years)

    I didn 't find the error right away , so I first removed it from requests and forms 1 reserved words YEAR and MONTH 2 then I entered aliases in the queries so that the Greek letters in the names did not get into the form when the report didn't open after that, I started checking the code(for...
  14. SHANEMAC51

    Solved Dynamic Report problem (over 10 years)

    I slightly corrected the names in the request, form, report, because I thought the Greek letters were to blame but the main error is in the report setup code, which is in the form
  15. SHANEMAC51

    Solved FILTERING MAIN REPORT AND SUBREPORTS FROM A FORM

    it is your example that is needed you are doing something wrong and the sample should help to understand your mistake usually calling reports from the form does not create problems
  16. SHANEMAC51

    Solved FILTERING MAIN REPORT AND SUBREPORTS FROM A FORM

    lay out an example of the form and reports that you could see 1 how do you open the report 2 and on what data apparently the problem is in the sampling conditions
  17. SHANEMAC51

    Combine fielfds

    Check: trim( (" "+[Detailed Inspections TBL]![Limit 1]) & (" " + [Detailed Inspections TBL]![Unit 1]) & iif(isnull([Detailed Inspections TBL]![Limit 2]) and isnull([Detailed Inspections TBL]![Unit 2]),""," /") & (" " + [Detailed Inspections TBL]![Limit 2]) & (" " + [Detailed Inspections...
  18. SHANEMAC51

    Solved Vertical Spacing in a textbox

    when reports with special formatting requirements are needed, they form a report in the WORD document format.
  19. SHANEMAC51

    Solved Vertical Spacing in a textbox

    it won't work with the [p] tag, access doesn't have such a tag, with the [div] tag I posted a screenshot for you
  20. SHANEMAC51

    Combine fielfds

    Check: trim([Detailed Inspections TBL]![Limit 1] & (" " + [Detailed Inspections TBL]![Unit 1]) & (" / " + [Detailed Inspections TBL]![Limit 2]) & (" " + [Detailed Inspections TBL]![Unit 2]))
Back
Top Bottom