LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default Pull info from access to excel userfom and edit an existing record

something like this
With rs
.Fields("Name") = Me.Textbox1.value
.Fields("Fax") = Me.Textbox2.value
.Update
End With

"sam" wrote:

Hi All,

I have created a system which consists of a Userform in excell and database
in Access. Rite now I have the following features in the form:

- Users can insert data into the database through the userform by clicking a
button "Enter"

I want to add two more features:

1. I want users to pull info from the database into userform fields
Eg: if user enters "User ID: " fields like "Name" "Phone" "Fax" should
be pulled from access into respective userform fields.

2. Once the user pulls these data from access, the user should be able to
update their details and on clicking "Enter" button that particular users
data should be updated in access.
Eg: If ueer enters "E111009" in the "User ID:" field the details pulled
from access are" "Name: Tom" ; "Phone: 123 456 7890" ; "Fax: 122 333 4444"

so once user updated his "Fax" to "999 999 9999" and clicks "Enter" I want
the new fax number to update the users record. I dont want to enter a new
enter in access once anything change. I want to identify the same row and
update that particular row if there is any edit made to the record.

Hope I made it clear,

Thanks in Advance

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pull info from Outlook to Excel marc5354 Links and Linking in Excel 0 September 20th 10 07:27 PM
Clone a record, edit it and add as new record to database. [email protected] Excel Programming 0 October 26th 07 04:34 PM
how do i pull info from one excel spreadsheet to another? WatChaLknAt Excel Discussion (Misc queries) 1 August 3rd 07 07:16 AM
Pull info from access to template in excel????? jwr Excel Programming 6 August 27th 05 03:52 AM
Pull info from SQL server to Excel Jeremy Nicholes Excel Programming 1 July 28th 03 03:54 PM


All times are GMT +1. The time now is 06:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"