LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,814
Default Database Question

I have a database that tracks Quotes. On a userform (that reads/writes to
the database) i have a button that inserts the quote number.

if the user is quoting a new job, i search the 'Quote Numbe' column for the
max, then add 1 to it for the new job number. This works fine.

the problem is ifI the user is Re-Quoting a job, i just want to add 0.1 to
that Quote Number from the Originial time it was quoted.

Example:
if a job was quoted once, and received a Quote Number 5000. If the user
wants to quote that job again, i want the quote number to be 5000.1
then if he wanted to quote it a third time, it would be 5000.2

I just need a way to look for the project name (ComboBoxProjectName.Value)
in column A of the database, then add 0.1 to the largest number for that
project.


 
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
Database Question? dbrumit Excel Discussion (Misc queries) 5 January 18th 07 09:01 PM
Database question Oldjay[_2_] Excel Programming 2 October 18th 05 03:45 PM
Users database question Pam Coleman Excel Discussion (Misc queries) 1 June 16th 05 09:20 PM
Database Question dfixemer Excel Programming 4 December 15th 04 08:39 PM
Database question Jim[_22_] Excel Programming 5 April 19th 04 10:16 PM


All times are GMT +1. The time now is 03:43 AM.

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"