Results 1 to 3 of 3

Thread: Saving to and searching from pre-created directories

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2008
    Posts
    6

    Red face Saving to and searching from pre-created directories

    Hi Im making a program that allow users to save and search information about their sims to a pre-created directory.
    This is how they create the directory and sub directorys:
    http://i303.photobucket.com/albums/n...s/Submenu1.jpg
    This is what happens once the files have been created:
    http://i303.photobucket.com/albums/n...erscreated.jpg
    This is what happens if they try to create it again:
    http://i303.photobucket.com/albums/n...adycreated.jpg
    The main folder created:
    http://i303.photobucket.com/albums/n...atedfolder.jpg
    The sub folders created:
    http://i303.photobucket.com/albums/n...subfolders.jpg

    Once thats done, its time for the user to either:
    create an entry:
    http://i303.photobucket.com/albums/n...ms/simmenu.jpg
    search/edit an entry:
    http://i303.photobucket.com/albums/n...ams/Search.jpg

    What I want to do now is allow the user to save,seach and edit all data in a particular subform.

    The boxes for the create an entry are named as follows:
    Text Boxes (4):
    First Name text box: txtFirstName
    Maiden Name text box: txtMaidenName
    Surname text box: txtSurname
    Amount of friends text box: txtFriends

    Combo Boxes (8):
    Aspiration combo box: cmbAspiration
    Gender combo box: cmbGender
    Age combo box:cmbAge
    Career Level combo box: cmbCareerL
    Career Name combo box: cmbCareerN
    Star Sign combo box: cmbStarSign
    Simolean combo box: cmoSimoleans
    Lifetime want combo box: cmbLTW

    Command buttons (10):
    Save by gender: cmdGender
    Save by surname: cmdSurname
    Save by aspiration: cmdAspiration
    Save by career: cmdCareer
    Save by star sign: cmdStarSign
    Save by amout of friends: cmdFriends
    Save by amount of simoleans: cmdSimoleans
    Save by lifetime want: cmdLTW
    Back to menu: cmdBackToMenu

    The boxes for the search/edit an entry are named as followed:
    Command button (1):
    Back to menu: cmdBackToMenu

    Combo Boxes (9):
    Aspiration combo box: cmbAspiration
    Gender combo box: cmbGender
    Age combo box:cmbAge
    Career Level combo box: cmbCareerL
    Career Name combo box: cmbCareerN
    Star Sign combo box: cmbStarSign
    Simolean combo box: cmoSimoleans
    Lifetime want combo box: cmbLTW
    Search combo box: cmbSearch

    Text Boxes (2):
    Surname text box: txtSurname
    Amount of friends text box: txtFriends

    Check box (1):
    Edit selected category: chkEdit

    I want the user to choose what subfolder he/she would like to save and search by.
    I would also like when the search results are display by the subfolder chosen, the option for the user to edit that information
    I would also like the information of whatever subfolder they decide to save it to be the tittle of the entry.

    Thank in advanced GRG
    Last edited by GeekRockerGal; Aug 30th, 2008 at 02:50 AM.

  2. #2
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: Saving to and searching from pre-created directories

    surely this would be better saved in a database
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2008
    Posts
    6

    Re: Saving to and searching from pre-created directories

    If I knew how to save it in a database I would but I dont

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width