Search results

  1. Eugene-LS

    Solved Append Query Key Violation

    You are not the only one who has this kind of thing Just replace sensitive data with meaningless text by using update queries.
  2. Eugene-LS

    Solved Append Query Key Violation

    Can you post a sample DB with test data and excel sheet?
  3. Eugene-LS

    query filtering certain timespan

    Yes. Yes. Field "MinDiff" - means: "difference in minutes" - Name it as you like.
  4. Eugene-LS

    query filtering certain timespan

    SELECT First(fTime) AS FirstOffTime, First(fValue) AS FirstOffValue, Next75AndMoreTime, First(MinDiff) AS FirstOfMinDiff FROM ( SELECT fTime, fValue, IIf([fValue]<75, DMin("fTime",'Your_Table_Name',"fTime>" & Format([fTime], "\#mm\/dd\/yyyy hh:nn:ss\#") & " AND fValue>=75")...
  5. Eugene-LS

    query filtering certain timespan

    SELECT fTime, fValue, IIf([fValue]<75, DMin("fTime",'Your_Table_Name',"fTime>" & Format([fTime], "\#mm\/dd\/yyyy hh:nn:ss\#") & " AND fValue>=75"), [fTime]) AS Next75AndMoreTime, DateDiff("n",[fTime], IIf([fValue]<75,DMin("fTime", 'Your_Table_Name',"fTime>" &...
  6. Eugene-LS

    Access (2013) Crashes on pressing Button that runs VBA Code....

    ... or not shown to us variable, or mistake ... :)
  7. Eugene-LS

    Access (2013) Crashes on pressing Button that runs VBA Code....

    If "ShowIt" is button - try code:
  8. Eugene-LS

    Ukraine

    It happens! - don't worry about it. Everything will come and be given to you in due time.
  9. Eugene-LS

    Ukraine

    НАУТИЛУС ПОМПИЛИУС — ЛУЧШИЕ ПЕСНИ
  10. Eugene-LS

    Solved Delete Query - Not working

    Use DlookUp() function ...
  11. Eugene-LS

    Text box AfterUpdate event need to populate a subform with records

    You are hindered by your relationships between tables
  12. Eugene-LS

    Error - data type mismatch in criteria expression

    You use text as a where condition for numeric fields For example: 'Wrong: ' If Me.cmbObjectType & "" <> "" Then ' varWhere = varWhere & "[ObjectTypeID] = '" & Me.cmbObjectType.Column(1) & "' AND " ' End If If Me.cmbObjectType.ListIndex > -1 Then 'Value from list is selected...
  13. Eugene-LS

    Access form fills out the whole screen

    Just set Form.PopUp property to Yes
  14. Eugene-LS

    How to make Combobox text background transparent when selected

    See: BackStyle property (Access) On Got Focus me.combobox1.backstyle = 0 '0 = Transparent On Lost Focus me.combobox1.backstyle = 1 ' 1 = Normal Keep in mind that the control will not be transparent when it got focus
  15. Eugene-LS

    Solved Make command button appear only 1 day a month

    You're absolutely right, it's better if the user doesn't work at night ... ;)
  16. Eugene-LS

    Solved Make command button appear only 1 day a month

    Private Sub Form_Current() If Day(Date) = 1 Then Me.cmdYourCommandButtonName.Enabled = True ' = 1st day of every month 'Or: Me.cmdYourCommandButtonName.Visible = True Else Me.cmdYourCommandButtonName.Enabled = False 'Or...
  17. Eugene-LS

    Form takes long time to open

    Can you post a sample DB with test data?
  18. Eugene-LS

    Pull data from open form for report

    Take a look to attached DB please
  19. Eugene-LS

    Syntax Problem

    Try: If DLookup("DdSchedId", "DdSchedules", "([MatterId] = " & Me.MatterIdFld & ") And (Status = 'Not Active')") Then
  20. Eugene-LS

    Ukraine

    As always - the price of political gamesmanship = graves with young guys! :(
Back
Top Bottom