|
-
March 8th, 2009, 07:25 AM
#1
Add, Update & Delete Record -- HELP!!
I have to make a HOTEL Database Management system and there are a few problems I am facing:
1) How do I Add a record to an existing record?
2) How do I Delete a record?
3) How do I update a record?
I need to know the simplest examples in which these functions are performed since I am not familiar with them, any help will be greatly appreciated, please help me out! Thanks!
-
March 8th, 2009, 08:21 AM
#2
Re: Add, Update & Delete Record -- HELP!!
If you're using MFC, look at the CDatabase and CRecordset classes
-
March 8th, 2009, 09:58 AM
#3
Re: Add, Update & Delete Record -- HELP!!
-
March 8th, 2009, 10:08 AM
#4
Re: Add, Update & Delete Record -- HELP!!
 Originally Posted by arshad115
use 2d arrays moiz!
Ah ok Arshad! but how do I delete records using 2D arrays?
-
March 8th, 2009, 10:11 AM
#5
Re: Add, Update & Delete Record -- HELP!!
The problem is too generic. We need to have some idea of what data structure you're using before we can help with how to manipulate it.
-
March 8th, 2009, 10:40 AM
#6
Re: Add, Update & Delete Record -- HELP!!
 Originally Posted by Lindley
The problem is too generic. We need to have some idea of what data structure you're using before we can help with how to manipulate it.
Also... please stop adding 'HELP!!' to your topic titles.
-
March 8th, 2009, 11:01 AM
#7
Re: Add, Update & Delete Record -- HELP!!
 Originally Posted by Elite Commando
Ah ok Arshad! but how do I delete records using 2D arrays?
You don't. Superman gave you the right answer.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|