User Profile

Collapse

Profile Sidebar

Collapse
JenZzz
JenZzz
Last Activity: Aug 25 '14, 09:17 AM
Joined: May 14 '14
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Hi Ricardo,

    A .mde file is made so people can't change anything anymore. The code is never viewable anymore.

    I would suggest you to split your database. By keeping all the tables in a secure back end the data keeps the same. It's very simple if you follow the wizard. The following link provides you with more info on the subject
    http://office.microsoft.com/en-us/ac...010342026.aspx...
    See more | Go to post

    Leave a comment:


  • JenZzz
    replied to Field Values conditioned on Yes/No Box
    Could you be a bit more specific.
    If you simply want to check the value in your textbox and if it's empty, prompt the user to either enter or leave it 0 I would try something like this
    Code:
    If "" & Me.Textbox = "" Then
         answer = msgbox"Enter data?", vbYesNo
    End If
    If answer = vbYes Then
        'let the user enter his value
    Else
        me.textbox.value = 0
    End
    ...
    See more | Go to post

    Leave a comment:


  • JenZzz
    replied to Delete records from Table open in Form
    So the .Edit in my code here does nothing? Because it keeps giving me an error without it.
    Anyway, thanks for the help :)
    Jens
    See more | Go to post

    Leave a comment:


  • JenZzz
    replied to Delete records from Table open in Form
    Problem has been solved using the following code, seems I have made the problem seem more complex than it was.....
    Code:
       Set rstdeleteuser = CurrentDb.OpenRecordset("Tbl_Users", dbOpenDynaset)
            With rstdeleteuser
                .FindFirst "UserID= '" & gvSelectedUser & "'"
                If .NoMatch = False Then
                    .Edit
                    !UserID = gvSelectedUser
    ...
    See more | Go to post

    Leave a comment:


  • JenZzz
    replied to Delete records from Table open in Form
    I'm sorry, It seems I haven't been clear and made a few mistakes. Let's start from scratch.
    I have a Table named 'Tbl_Users'.
    I basically want to delete a record from that table.
    I have a Form called 'Show Users'. On this Form, there is a subform called 'Qry_Users subform'. This subform shows a Datasheet on the main form and gets it's data from a query, which in turn gets its data from 'Tbl_Users'.

    So we have a main...
    See more | Go to post

    Leave a comment:


  • Am I correct in saying that depending on whether or not you are trying to make a multi-user enviroment you either choose an Unbound Form for multiple users or a Bound form for a single user? Depends on the use for your database, abadaysheker2!
    See more | Go to post

    Leave a comment:


  • A form is unbound when the 'record source' of the form is empty. You can check this in the data tab of the propertysheet.

    Creating the form itself is simple. In the create tab above you can start by creating a blank form et voila.
    Next, go into design view and after creating some textboxes you can enter the Visual Basics Editor.

    Assuming you have basic knowledge in visual basic, you can start asigning the values in...
    See more | Go to post

    Leave a comment:


  • If you are trying to create a form on which you can add records to multiple tables at once, use an unbound form and multiple recordsets.
    If not, please be more specific.
    See more | Go to post

    Leave a comment:


  • JenZzz
    started a topic Delete records from Table open in Form

    Delete records from Table open in Form

    Dear all,

    I have started working with vba only three weeks ago so forgive me for any basic mistakes. I have a small problem, I am creating a database for work and I am stuck

    I have made a search function to look up my User in "Tbl_Users" . The form opens with a subquery showing the found records. So far so good.

    What I am trying to implement is a 'Delete' Button, to delete the record selected...
    See more | Go to post
No activity results to display
Show More
Working...