User Profile

Collapse

Profile Sidebar

Collapse
elak6
elak6
Last Activity: May 30 '12, 03:55 PM
Joined: Nov 25 '11
Location: Cheltenham , United Kingdom
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • elak6
    replied to MS Access SQL (Not Equal To)
    Hi Mike,

    I just tried it and it isnt working.
    For parts that dont have matching internal part number and matching revision, it displays Revision Change instead of Not in database

    Thanks for helping me
    See more | Go to post
    Last edited by NeoPa; Mar 16 '12, 05:55 PM. Reason: Removed unnecessary quote.

    Leave a comment:


  • elak6
    started a topic MS Access SQL (Not Equal To)

    MS Access SQL (Not Equal To)

    I am trying to write a query that checks whether certain criterias are met in new data that i am importing and based on different conditions which are explained below it then displays a text :

    1ST CONDITION: If the Internal Part Number and Revision match that of a pre-existing table in the database then the text displays: In The Database

    2ND CONDITION: If the Internal Part Number matches but the Revision does not match...
    See more | Go to post
    Last edited by elak6; Mar 16 '12, 10:23 AM. Reason: For clarity purposes

  • Hi NeoPa,

    Thanks for helping me realise my errors
    The code runs perfectly now :)
    Thanks for all your help,
    Really appreciate

    Regards,
    elak6
    See more | Go to post
    Last edited by elak6; Mar 6 '12, 10:16 AM. Reason: Solved the problem, Thanks

    Leave a comment:


  • Running Parameter Query Via A Form and Encountering Problems

    I am trying to run the query below, but i keep on getting syntax error in query expression.
    I dont know exactly what i have done wrong and any help to put me on the right path will be very much appreciated

    Code:
    SELECT TESTER.[Internal Part Number], TESTER.Type, TESTER.[Part Type], TESTER.[RoHS Compliant], TESTER.[Termination Finish], TESTER.[Surface Mount], TESTER.[Pk Reflow Temp (Cel)], TESTER.MSL, TESTER.[JESD-97 Code], TESTER.Revision,
    ...
    See more | Go to post

  • Hi Neopa,

    Yeah i just saw the chnages you highlighted, was testing and tweaking the code and didnt even realise the changes i made.
    Currently, i am using Access 2007
    I have corrected the code and ran it again but is still giving me the error about the Dirty property
    I guess i need to go back to the the foundation/beginning and figure out how i went wrong

    Thanks for all your help,
    Really appreciate...
    See more | Go to post

    Leave a comment:


  • Hi Neopa,
    Happy New Year to you and hope you had a good holiday
    I ran the code exactly as you put it and it is still giving me errors. The code i ran is shown below:-

    Code:
    Private Sub Form_Open(Cancel As Integer)
        With Me
            If Date = .txtSendDate Then     ' Now option
            If Date <> .txtSendDate Then      ' Deferred option
            RetValue = MsgBox("NextUpdate is in the future/past",
    ...
    See more | Go to post

    Leave a comment:


  • elak6
    replied to Automated Mail Delivery Time Using Table Data
    Hi Neopa,
    Thanks for all your help
    I ran the code posted above but i seem to be encountering a problem
    Everytime i close the form and then reload it, it never saves the value of the next update text box
    Please can you help
    See more | Go to post

    Leave a comment:


  • elak6
    replied to Automated Mail Delivery Time Using Table Data
    Hi NeoPa,

    Sorry for the long delay in replying, i was bogged down with work
    I was able to sucessfuly implement it using the method you suggested
    Thanks so much for you all help and once again, sorry for all the stress i have you

    This is the code which i used below:-
    Code:
    Private Sub Form_Open(Cancel As Integer)
    With Me
    If Date < NextUpdate Then
    RetValue = MsgBox("NextUpdate
    ...
    See more | Go to post

    Leave a comment:


  • Hi NeoPa,

    Thanks for the reply
    I think the best approach to this matter is the one you suggested above
    There are just some points that I don’t understand fully

    I am guessing if I was to write the VBA code, it will be something like:

    Code:
    If Date  < Send Date
    Then Do Nothing 
    ElseIf
    Date= Send Date
    Then Call Command Msg    ‘which is the command that
    ...
    See more | Go to post
    Last edited by elak6; Dec 7 '11, 10:25 AM. Reason: poor formatting

    Leave a comment:


  • Hi NeoPa

    Thanks for your reply and I am sorry if my earlier post offended you.
    I finally understand what you mean more clearly
    I think the frustration of the code not working out was clouding my thinking and do I apologize for any inconveniences I have caused you and i really appreciate all your help

    I did read your post and you suggested you using an outlook reminder without code
    Let me give you...
    See more | Go to post
    Last edited by elak6; Dec 6 '11, 09:04 AM. Reason: Typographical errors and poor formatting

    Leave a comment:


  • Dear Neopa,
    I appreciate the fact that you are not getting paid for this service and you are doing all of us a favour. I do know it can be very frustrating when you are trying to help people and sometimes their question just contain too much dilly-dallying and not getting straight to the point but some of your comments in post 4 were quite hurtful.
    I guess it's my fault cuz i went in to much detail thinking it would aid the whole process...
    See more | Go to post
    Last edited by elak6; Dec 5 '11, 10:05 PM. Reason: needed more detail

    Leave a comment:


  • Thanks for the reply NeoPa
    The main aim of having a deffered date is that i want a reminder email to be generated every 3 months without any inut from me to remind to update sections of my database
    What i really wan
    The deffered date is not the same date i run the code
    The code is going to run continually everyday
    But what i really want is that that i set a date as a benchmark and 30 days adter that benchamrk date,...
    See more | Go to post

    Leave a comment:


  • elak6
    started a topic Automated Mail Delivery Time Using Table Data

    Automated Mail Delivery Time Using Table Data

    Good Day,
    I have an access database
    I want to be able to send a reminder email to myself every 3 months
    So basicall when today date vs last update date in my table > 30
    Then automically send email
    At the moment i am using the deferred delivery time method..
    But i would prefer a way to calculate the difference between todays date vs last update date in my table and if >30.
    Then today's date...
    See more | Go to post

  • elak6
    replied to Access Macro To Run Only Once
    NeoPa,
    Thanks you so much
    So sorry about my foolishness
    After going back and reviewing your code, did i just realised the major error on my part
    Thank you everybody for all your help
    I really appreciate it and all the good that the forum is doing
    See more | Go to post

    Leave a comment:


  • elak6
    replied to Access Macro To Run Only Once
    Hey Neopa, This is an the code that i ran and it still giving me teh same error
    Code:
    Private Sub Command3_Click()
     With Me
    'my code
    Call ImportFromExcel
    Call .Command3.SetFocus
        .Command3.Enabled = False
        End With
    End Sub
    The import from excel calls out my file dialog box and DoCmd.TransferS preadsheet codes.
    See more | Go to post
    Last edited by NeoPa; Nov 28 '11, 03:13 PM. Reason: Added mandatory [CODE] tags for you

    Leave a comment:


  • elak6
    replied to Access Macro To Run Only Once
    Hi Neopa,
    Thanks for the speedy reply

    Using your method does not comply for some reason with my command button in vba

    I tried running the code above and it gave me an error:
    Compile error: Method or data member not found
    And it highlist this section of code
    Code:
    Command3Next.SetFocus
    See more | Go to post
    Last edited by TheSmileyCoder; Nov 28 '11, 02:27 PM. Reason: Merged posts

    Leave a comment:


  • elak6
    replied to Access Macro To Run Only Once
    Hi Smiley Coder
    Thanks for the speedy reply
    I just tried running the code and it gives me the error;
    Run-time erroe '2164'
    You can't disable a control while it has the focus


    Thanks
    See more | Go to post

    Leave a comment:


  • elak6
    replied to Access Macro To Run Only Once
    Hi giuys,
    Thanks for the speedy reply
    I have tried again using the macros wahy and it is still proving difficult.
    I know i can easily convert all my macros to vba using the database toolbar in ms access
    But i still dont know how to run the macro once per session using vba either
    Any help you can offer would be highly appreciated
    Thanks
    See more | Go to post

    Leave a comment:


  • elak6
    started a topic Access Macro To Run Only Once

    Access Macro To Run Only Once

    I have a form which acts as a dasboard for a variety of functions
    I have a created a buttion which is linked to an access macr on the form
    I wanted the macro to run only once or the option of having the button to be clicked ony once

    Thanks
    See more | Go to post

  • Thanks NeoPa for all your help
    Fially figured it out
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...