Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Tag Cloud
access acer asus bios bsod computer crash desktop drive driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop malware memory missing monitor motherboard network printer problem ram random registry router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Business Applications >
Building a table of data

Reply  
Thread Tools
stewartrr's Avatar
Computer Specs
Junior Member with 2 posts.
 
Join Date: May 2007
Experience: VBA newbie
23-May-2007, 02: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
Reply

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.

Search Tech Support Guy

Find the solution to your
computer problem!




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



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 12:21 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.