navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Free FrontPage Templates

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

(For Spooky)submitting to DB & incrementing the numeric part of the PK string

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> (For Spooky)submitting to DB & incrementing the numeric part of the PK string
Page: [1]
 
Moody_99

 

Posts: 15
From: Slough, Berks, United Kingdom
Status: offline

 
(For Spooky)submitting to DB & incrementing the numeric... - 3/15/2001 17:02:00   
I apologise Spooky. I was having a problem with hotmail.


Is there any other way?

How can I submitt to a database autoincrement the numeric part of the string.

E.g AR-110, Ar-111, AR-112.

How would you handle it. I need to work it out because it is bugging my head in.

There must be some way?

Spooky

 

Posts: 26606
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: (For Spooky)submitting to DB & incrementing the nu... - 3/15/2001 23:17:00   
The only way you will do it is to use autonumber.

If you need text, store it in a seperate field and join the values to make it look like text + number

You cant achieve what you want your way.

Also, its limiting what you can do with the DRW Elecia tried to demonstrate using asp which is your next option, but still you cant use text.

------------------
Spooky
"I am Spooky of Borg. Prepare to be assimilated, babycakes!"
Subscribe to OutFront News
Database / DRW Q & A
The Spooky Login!


(in reply to Moody_99)
Moody_99

 

Posts: 15
From: Slough, Berks, United Kingdom
Status: offline

 
RE: (For Spooky)submitting to DB & incrementing the nu... - 3/16/2001 20:54:00   

I am new to this stuff. I email sent you an email messasge to spooky@outfront.net.

I woul dlike to apologize if you received mor ethan one message from me. This hotmail account is giving me trouble.

Please could you read the message with the attachment.

Could you make the necessary changes to the dB and explain what you have done.

How do I get the two fields together in every record. How do I get the text field to input only DP- on every record the same table?

Also explain how I need to change the ASP page to a given table.


I apologise I am new to this stuff and don't understand much.


I really appreciate you helping me. Thanks.


Moody


(in reply to Moody_99)
Elecia

 

Posts: 68
From: orlando
Status: offline

 
RE: (For Spooky)submitting to DB & incrementing the nu... - 3/16/2001 20:43:00   
I can't keep up with this one there are some many threads. I posted a response and an example to another thread for this same question this morning.
EE

(in reply to Moody_99)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> (For Spooky)submitting to DB & incrementing the numeric part of the PK string
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts