Click here to Skip to main content
15,909,546 members
Home / Discussions / Database
   

Database

 
AnswerRe: Unicode with Sql server 2000 Pin
Anonymous21-Oct-05 22:04
Anonymous21-Oct-05 22:04 
AnswerRe: Unicode with Sql server 2000 Pin
Rob Graham22-Oct-05 11:44
Rob Graham22-Oct-05 11:44 
QuestionImport /Export Sql Server Database Pin
TheOnlyFalcon21-Oct-05 15:10
TheOnlyFalcon21-Oct-05 15:10 
AnswerRe: Import /Export Sql Server Database Pin
Anonymous21-Oct-05 22:07
Anonymous21-Oct-05 22:07 
QuestionUsing the CONVERT Function Pin
TheMajorRager21-Oct-05 14:43
TheMajorRager21-Oct-05 14:43 
AnswerRe: Using the CONVERT Function Pin
Hesham Amin22-Oct-05 4:41
Hesham Amin22-Oct-05 4:41 
QuestionDataGridViewComboBox selection Pin
Drew McGhie21-Oct-05 8:23
Drew McGhie21-Oct-05 8:23 
QuestionArranging records in Database Pin
ddmcr21-Oct-05 6:17
ddmcr21-Oct-05 6:17 
Hello guys,
I am writing a program that will read some data drom a *.mdb database file.
Suppose I have db2.mdb file and Table1 consists of next data

ID Name Surname<br />
<br />
1 nick Gates<br />
2 john Allen<br />
3 david Ellison


Now when I load this database in my application and for example delete the second record, in My Program the data is displayed(I use CListCtrl for displaying the data) in next way :
<br />
ID Name Surname<br />
<br />
1 nick Gates<br />
3 david Ellison


But I need that after deleting the second record , my program displayed it like this :

ID Name Surname<br />
<br />
1 nick Gates<br />
2 david Ellison<br />


As I guess After deleting the record I'll have to change the ID-s of all records in Database, and arrange them from beginning(1,2,3,..)
But I do not know how to do this , I am a beginner in Databases.
Can anyone help?

Thanks in advance




"Success is the ability to go from one failure to another with no loss of enthusiasm." - W.Churchill



-- modified at 12:21 Friday 21st October, 2005
AnswerRe: Arranging records in Database Pin
Duncan Edwards Jones21-Oct-05 6:36
professionalDuncan Edwards Jones21-Oct-05 6:36 
QuestionFileMaker Server Advanced Pin
Sebastien Lachance21-Oct-05 5:14
Sebastien Lachance21-Oct-05 5:14 
Questionhelp making database application without using sql server Pin
unni_jeevan21-Oct-05 3:53
unni_jeevan21-Oct-05 3:53 
AnswerRe: help making database application without using sql server Pin
André Ziegler21-Oct-05 5:13
André Ziegler21-Oct-05 5:13 
QuestionSQL - DELETE Directive error Pin
ddmcr21-Oct-05 3:30
ddmcr21-Oct-05 3:30 
AnswerRe: SQL - DELETE Directive error Pin
Looney Tunezez21-Oct-05 3:51
Looney Tunezez21-Oct-05 3:51 
GeneralRe: SQL - DELETE Directive error Pin
ddmcr21-Oct-05 3:54
ddmcr21-Oct-05 3:54 
GeneralRe: SQL - DELETE Directive error Pin
André Ziegler21-Oct-05 5:15
André Ziegler21-Oct-05 5:15 
QuestionDisplaying date Pin
Anonymous21-Oct-05 3:25
Anonymous21-Oct-05 3:25 
AnswerRe: Displaying date Pin
Hesham Amin22-Oct-05 4:48
Hesham Amin22-Oct-05 4:48 
GeneralRe: Displaying date Pin
Anonymous23-Oct-05 23:04
Anonymous23-Oct-05 23:04 
Questioncalander value using query Pin
Member 184400621-Oct-05 2:24
Member 184400621-Oct-05 2:24 
QuestionSearching for a list of words Pin
hasanali0021-Oct-05 1:59
hasanali0021-Oct-05 1:59 
QuestionFind an replace text in Row in a DataTable Pin
blackhole07720-Oct-05 11:59
blackhole07720-Oct-05 11:59 
AnswerRe: Find an replace text in Row in a DataTable Pin
S Douglas20-Oct-05 22:52
professionalS Douglas20-Oct-05 22:52 
GeneralRe: Find an replace text in Row in a DataTable Pin
blackhole07721-Oct-05 9:46
blackhole07721-Oct-05 9:46 
GeneralRe: Find an replace text in Row in a DataTable Pin
S Douglas23-Oct-05 22:01
professionalS Douglas23-Oct-05 22:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.