Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Form Lookup & Update Records



I have a form that I use to lookup records in a database. I want to be able
to update the lookup information in the form and then write the record back
to the How do I select the first empty row in row "K". I want to use a form
to copy the following info to Row 2, Column "K".

Search by lastname, then bring lastname, firstname, etc. to the screen. If I
have to change the lastname (i.e. marriage), then write the changes to the
worksheet.


Form Lookup:
Lastname €“ Davies
Firstname - Cindy
DOB - 5/1/59

Code to lookup:
Private Sub Combobox1_Change()
TextBox50.Value = Combobox1.Column(1)
TextBox51.Value = Combobox1.Column(4)
End Sub

Code to Write needed:

Worksheet Write:
Lastname €“ Dungate
Firstname - Cindy
DOB - 5/1/59

Reply
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
Form Lookup & Update Records Tdungate Excel Discussion (Misc queries) 0 February 12th 09 07:55 PM
Creating a Custom Data Entry Form to Update Multiple Excel Records atOnce Scotty81 Excel Discussion (Misc queries) 0 January 7th 09 08:22 PM
Update my spreadsheet with MLB team records? John[_128_] Excel Programming 2 April 25th 08 02:59 PM
Update yearly records ED Excel Discussion (Misc queries) 1 January 19th 06 10:08 PM
How can I update a spreadsheet for a new season of records? Linda Excel Discussion (Misc queries) 2 September 13th 05 05:12 PM


All times are GMT +1. The time now is 10:24 PM.

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

About Us

"It's about Microsoft Excel"