There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Tag Cloud
audio bios blue screen boot bsod computer connection crash dcom dell driver drivers email error excel firefox google hard drive hardware hijackthis internet laptop logon logs off macro malware microsoft motherboard network networking problem ram recovery router screen slow software sound trojan usb userinit.exe virus vista webcam wifi windows windows 7 windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Business Applications >
Building a table of data

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
stewartrr's Avatar
Computer Specs
Junior Member with 2 posts.
 
Join Date: May 2007
Experience: VBA newbie
23-May-2007, 01:04 AM #1
Building a table of data
Hi, and thanks for any help.

I am a newbie to VBA programming.

I am creating a worksheet of contacts and the date and time that I phone them, along with their current "status" in our company.

I have created a form and have got it o do the insert of new data that I input, BUT

What I would really like is enter a "client number" (which is unique) and have it search my table for any record(s) with that client number, and the show me the last record that matches the client number, (this can all be done from within my form) then

If I click on the "insert" command button, I want it to insert a new row after the current row and move my form data in the form into the new row which will include a date and time.

So,
To summarize.....
LOOKUP ----- I need to have my form scan down the data for a match in a particular (pre-sorted) column, stopping at the last line that matches, then display the data or dispay nothing is there is no match
INSERT ----- I need to have the form scan down the data for a match in a particular (pre-sorted) column, stopping at the last line that matchesinsert a blank row here and move my data into it.

Rob
Closed Thread Bookmark and Share   techguy.org/576217

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 04:34 PM.
Copyright © 1996 - 2010 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.