User Profile

Collapse

Profile Sidebar

Collapse
Sandy1992
Sandy1992
Last Activity: Jul 2 '15, 01:53 PM
Joined: May 19 '15
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thank you jim, NeoPa & Rabbit for your replies.

    >>>Sandy1992, did you relink your tables after encrypting the back-end? If you did, does your password include any special characters? Try changing your password to something without special characters to see if that gives a better result.<<<<

    No. After splitting the Database, the table from the front end will automatically link to the Backend , right!...
    See more | Go to post

    Leave a comment:


  • "Not a valid Password" error after saving the Backend.

    Hi,

    First of all, I will take a moment to thank to all the superb people who helped me in my journey till now. I enjoyed it. I came to learn a lot of things in this forum.Thanks a lot.

    I am using A2010. Now, I am done with distributing the .accde file to the end Users.
    But I faced problem.

    What happened was I encrypted my Backend which was easily available to the end user to change.

    ...
    See more | Go to post

  • Hi,
    Thank you so much for your reply.

    Apologies for the late reply.

    Yes I checked in the control panel but it states "Unknown Host" only.

    but I guess I have a hint why it is not working.
    we are working in secured environment, so the client may have not allowed it. Can that be the reason for that?
    See more | Go to post

    Leave a comment:


  • Thank you for your reply J.

    I tried debugging in Immediate Window to see what all I am getting. This is what I got.

    For Line 1:
    I got Run time error '2471'
    The Expression you entered as a query parameter produced this error:'[End]'

    For Line 2:
    I got Run time error '2471'
    The Expression you entered as a query parameter produced this error:'EndTime'

    For Line 3:
    I got...
    See more | Go to post

    Leave a comment:


  • Sorry Smiley. I don't have rights to do that.

    Can you suggest me some code from which I can check if the Duration field is empty for the specific user?
    See more | Go to post

    Leave a comment:


  • Yes Smiley.
    When I debug Me.txtUserID displays the expected result.

    I am using single view form.

    For TasksQuery I created the query using wizard and mentioned "False" in the criteria of the CheckEndTime field. So, it displays only the data which contains the Checkbox unchecked.
    See more | Go to post

    Leave a comment:


  • Thank you for your reply smiley.

    I have tried some of the logic's. And not even one out of them are serving my requirements.

    Probably if post all of the code it may confuse you. So I will give no.s to each of the code.

    Lets start :)

    1)I used textbox to check if the EmployeeId is present in the query ("TasksQuery ").
    So, I used below code under onClick() event.
    Code:
    Me.checktime
    ...
    See more | Go to post

    Leave a comment:


  • Hi z,

    Thank you so much for replying me. I am glad that you are there to help me.

    Luckily I had backup file saved so I am not that much bothered to use the last file. But, yeah I had to made the changes which I made to corrupted file after creating the backup.

    I made following changes:

    1) some changes in the existing table design, like changing the datatype
    2) some changes in the form which...
    See more | Go to post
    Last edited by Sandy1992; Jun 17 '15, 06:56 AM. Reason: typo

    Leave a comment:


  • Yeah tried your suggestion. Still not working. Even I tried placing EndTime instead of Duration. It still shows res

    While the code was displaying 2471 error.
    "The expression you entered as a query parameter produced error: [End]"

    EmployeeId is the numeric field.
    See more | Go to post

    Leave a comment:


  • Hi Smiley,

    Actually the reason behind having this redundancy is, when I tried checking the checkbox in the table if it is checked or not, it was simply displaying "True" incase one checkbox with the logged in user employeeid is checked. It was not checking the full table. So, I thought to create query so it have to only check for one time. But now it is not even doing that.

    Also, apologies but your code will not...
    See more | Go to post
    Last edited by Sandy1992; Jun 16 '15, 11:01 AM. Reason: included code

    Leave a comment:


  • Access the value of checkbox in order to open the form

    Hi guys,

    Uptil now I got plenty of helps from this forum. I really appreciate your wonderful help. Thank you so much.

    I am stuck at one point, my database looks like this.
    Table: Tasks(EmployeeI d,StartTime,End Time,Duration,C heckEndTime)
    Query:TasksQuer y(EmployeeId,En dTime,Duration, CheckEndTime)

    Please Note: Her CheckEndTime is nothing but Checkbox field.

    Form : Form1
    ...
    See more | Go to post

  • Sandy1992
    replied to Export the filtered datasheet issue
    Hi z,

    Thanks for atleast replying :)

    The code on AfterUpdate event of the combobox is as shown:
    Code:
    Private Sub cboEmployee_AfterUpdate()
     Dim Myemp As String
        Myemp = "select * from Tasks where ([EmployeeId] =" & Me.cboEmployee & ")"
        Me.Tasks_subform4.Form.RecordSource = Myemp
        Me.Tasks_subform4.Requery  
    End Sub
    Please note: I am...
    See more | Go to post
    Last edited by Sandy1992; Jun 9 '15, 07:56 AM. Reason: Added some points

    Leave a comment:


  • Sandy1992
    started a topic Export the filtered datasheet issue

    Export the filtered datasheet issue

    Hi all,

    I have a form named "Search"

    In it their is a combobox "cboEmp", which is used to filter the data and display in datasheet.

    Now, the filter is working fantastic. The problem persists when Export button comes into picture.

    On clicking Export, the filtered data should be exported to the excel.

    what exactly is happening is, the data are getting exported in excel...
    See more | Go to post
    Last edited by Sandy1992; Jun 4 '15, 03:48 PM. Reason: Need to include some context

  • Hi Seth,

    I tried on GotFocus event, its not working either.
    See more | Go to post

    Leave a comment:


  • Ohk. I did what you suggested.

    But no change.

    Instead I would like to know if I can use the same code on some other event?

    As the code which you provided , I am using under new button.

    As , the actual command button already have Embedded macro under Onclick event.

    so, if it works, can we put the code under some other event.

    Just in case it helps. Atleast actual button opens...
    See more | Go to post

    Leave a comment:


  • Yes it is pointing to my code only.
    See more | Go to post

    Leave a comment:


  • Hi Seth,

    Even though, I am inserting break points and clicking the button.

    It is not allowing me to debug. As I usually check using break points , but this is not even going to it. It only blinks and does nothing.
    See more | Go to post

    Leave a comment:


  • No Seth.

    I am not getting any kind of errors.

    But it seems the button is not working.

    It only blinks as I click on it. and it does nothing
    See more | Go to post

    Leave a comment:


  • Hi Seth,

    I am using an unbound control to fetch the current user.

    I replaced my previous line with this line.

    Code:
    DCount("*", "TasksD", "End Is Null And EmployeeId = " & Me.txtUserID) > 0
    Note: EmployeeId is numeric field.

    But still it is not working.

    I tried placing new button to my form and placed this code under on click event , but it...
    See more | Go to post

    Leave a comment:


  • Hi Seth,

    I tried implementing it.

    but it is not working. It is not even doing anything.

    I would like to know how will it figure out that if the end value is null field.

    See what I mean to say is:
    As I mentioned earlier, there is a field "EmployeeId ". So the values are saved according to the logged in employeeId.

    So, there will be duplicate employee id right.
    ...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...