[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
| Title: | *OLD* ALL-IN-1 (tm) Support Conference | 
| Notice: | Closed - See Note 4331.l to move to IOSG::ALL-IN-1 | 
| Moderator: | IOSG::PYE | 
|  | 
| Created: | Thu Jan 30 1992 | 
| Last Modified: | Tue Jan 23 1996 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 4343 | 
| Total number of notes: | 18308 | 
464.0. "bind question - ordering a numeric field." by WAYOUT::ALLAMS () Fri Apr 10 1992 11:45
Hi,
	I have an application programming question:
	If I have an entry form, with the key field a numeric field ranging from,
	say, 1-15, and I wish to use an index form to view this data, how
	do I order the data on the entry form, so that the numbers run from 
	1-15?
	At the moment, I do a simple bind:
	BINDW *CALL TO *CALL_QUEUE:QUEUE
	This gives:
	1
	10
	11
	12
	13
	14
	15
	2
	3
	4
	5
	6
	7
	8
	9
	not,  
	1
	2
	3
	3
	etc.
	Is there any easy way to do what I want to do??
		Steve Allam
		UK Support
| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 464.1 |  | IOSG::MAURICE | IOSG ain't a place to raise a kid | Fri Apr 10 1992 11:59 | 6 | 
|  |     Could you save the field on disk with leading zeros preserved, and then
    eliminate them in the UI when displaying them?
    
    FWIW
    
    Stuart
 | 
| 464.2 |  | WAYOUT::ALLAMS |  | Fri Apr 10 1992 12:41 | 7 | 
|  | 
Thanks Stuart,
	I think that may be just what I need, why didn't I think of that?!
		Steve
 |