help!! number format, problem solving

goju

Board Regular
Joined
Dec 15, 2004
Messages
133
I have a name from a combo box (i.e John Smith)

When this name is entered i need the following box to display

JS/1001

then for the next entry when i put in John Doe in the combo box the following box needs to come out JD/1002 and so on.


is this possible, i'm a newbie to this access please help
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Hi
I don't understand 100%. Is all of the data already in your table? For example, is the record 'JS/1001 John Smith' already in a table somewhere in your database? Or is just the 'John Smith' part in a table?
Andrew :)
 
Upvote 0
john smith is in a table however

JS/1001 is not this need to be generated. (or would i put this ina table as well)

Sorry newbie
 
Upvote 0
Whilst it is possible to produce the "JS/1001" as you enter the name, it would be quite an involved process to do so. In which case, it would be much much simpler to store the "JS/1001" in the same table as "John Smith". This will save you plenty of time and hassle later - you could even use the "JS1001" as the unique id or key in the table.
HTH, Andrew.
 
Upvote 0

Forum statistics

Threads
1,221,899
Messages
6,162,686
Members
451,782
Latest member
LizN

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top