Search results

  1. Eugene-LS

    Solved Combo box Dropdown and Got Focus highlight field with colour

    Take a look on example below please. ComboBoxes dropdown only if it has no value.
  2. Eugene-LS

    Open External Database in Separate Window in Access Runtime Version

    Try to replace string Dim app As Access.Application, strPath As String to: Dim app As Object, strPath As String
  3. Eugene-LS

    Can Not Edit Application Title or Change/Add Display Form

    Is this happening to all databases or just one?
  4. Eugene-LS

    Why My system shows two Different Access icons when adding a New File?

    The one above is for creating an .accdb file (MSA 2007 + ), and the second one is for *.mdb (MSA 2003 format)
  5. Eugene-LS

    Passing unbound form data to another form

    Take a look at the example below
  6. Eugene-LS

    Enter Parameter value

    Can you post a sample db to demonstrate the problem?
  7. Eugene-LS

    Export to excel with Date format

    I offer you a shorter way of generating the path string: ... = "PATH\filename" & Format(Now, "\_mmddyyyy\_hhmmss") & ".xlsx"
  8. Eugene-LS

    Solved Navigation Panel Drop Down Menu

    I would use a ListBox for the main menu and a SubForm for the submenus ...
  9. Eugene-LS

    Day count

    With [CompletedDate] field: Control source: =DateDiff("d",[Discharge_Date], Nz([CompletedDate], Date()))
  10. Eugene-LS

    Highlighted Search

    Yes, it's possible. Make report in RTF or HTML format ... using tags <bold> & <color> You can also highlight the desired text when exporting the report to MS Word or MS Excel
  11. Eugene-LS

    Prevent date field from changing format on data entry

    No way! :sneaky: Or use own Calendar form ...
  12. Eugene-LS

    Prevent date field from changing format on data entry

    I did so: I copied the date (time) value from hidden field into an unrelated text field on the Form_OnCurrent event, checked for IsDate() or IsTime() after editing, and then copied back ...
  13. Eugene-LS

    Solved Numbers & UpperCase

    Shorter way: Private Sub ControlName_AfterUpdate Me.ControlName = StrConv(Me.ControlName & "", vbProperCase) End Sub
  14. Eugene-LS

    show name in a combo box but store id

    Can you post a copy of your application with just the form (with subforms) and required tables/queries. Just a few (fictitious) records to understand.
  15. Eugene-LS

    show name in a combo box but store id

    Your record sourse propery of combobox should have a query like that: SELECT FieldID, FieldName FROM coordinator_program ORDER BY FieldName;
  16. Eugene-LS

    show name in a combo box but store id

    Set combobox properties: ColumnCount = 2 (or more) ColumnWidths = 0;8 (first should be = 0)
  17. Eugene-LS

    Count based on value

    Use DCount() Function
  18. Eugene-LS

    Solved Numbers & UpperCase

    Try the code below: Dim sVal$ sVal = "I am trying to enter a line of code that allows me to input the house number in a text box followed by the street name" sVal = StrConv(sVal, vbUpperCase) Debug.Print sVal sVal = StrConv(sVal, vbLowerCase) Debug.Print sVal...
  19. Eugene-LS

    How to stop repeat code

    You are thinking correctly trying to optimize code, in programming this is called "polymorphism". You can write approximately this kind of code: Private Sub cboEmploeeAcc_Operaate() If Me.cboSantAg = 1 Then Me.cboEmploeeAcc.Visible = False Else Me.cboEmploeeAcc.Visible =...
  20. Eugene-LS

    Change dots into commas as decimal separator

    @cpampas Any Null value will return error - so better use Nz() function: Me.txtTextField = Replace(Nz(Me.txtNumericField, 0), ",", ".")
Back
Top Bottom