+ Reply to Thread
Results 1 to 5 of 5

command buttons with hyperlink to form

  1. #1
    Registered User
    Join Date
    12-06-2009
    Location
    Asia Pacific
    MS-Off Ver
    Excel 2003
    Posts
    30

    command buttons with hyperlink to form

    Hi,

    I have a form which is used to enter in client details.

    I have created a command button for the purpose of adding a new client.
    I have placed a hyperlink on this button so that when I click on it it opens up a new client form where I can add in new client details name, last name etc.

    My problem is that after I've entered in the client details and close the form, I go back to my main form window, and when I click on the client drop down list the client I just added isn't there.

    I have been wrecking my brain with this...

    I have tried making a macro....going into the properties, on click=[data entry], event procedures but obviously doing something wrong.

    My access knowledge is intermediate and I am re-designing a database that someone else created and unfortunately that person doesnt work here anymore.

    your help is much appreciated.

    Thanks
    stats09

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,907

    Re: command buttons with hyperlink to form

    Are you sure that the new client form you open is bound to the Client Table? Check your form properties and see if it has a record source as the client table.

    Alan
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    12-06-2009
    Location
    Asia Pacific
    MS-Off Ver
    Excel 2003
    Posts
    30

    Re: command buttons with hyperlink to form

    Quote Originally Posted by alansidman View Post
    Are you sure that the new client form you open is bound to the Client Table? Check your form properties and see if it has a record source as the client table.

    Alan
    in the record source (form properties) for the client form I put in................. SELECT tbClient.* FROM tbClient;

    All the enteries say unbound.....eg title, first name, last name, the entry for this says unbound.

    still doesntt work.....any ideas.


    Thanks in advance!~~~

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,907

    Re: command buttons with hyperlink to form

    It appears that your form is linked to a query or a look up. Your fields are not bound to any table. Without this or some code to update a table, your data is going nowhere. If you want it to go to a particular table, you will need to write some code. Look at this video tutorial on how to get it there.

    http://www.datapigtechnologies.com/f...rdsnocode.html

    HTH
    Alan

  5. #5
    Registered User
    Join Date
    12-06-2009
    Location
    Asia Pacific
    MS-Off Ver
    Excel 2003
    Posts
    30

    Re: command buttons with hyperlink to form

    I have now solved this thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1