Click here to Skip to main content
15,914,594 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalrecordset question Pin
jafrazee14-Jul-03 4:13
jafrazee14-Jul-03 4:13 
GeneralRe: recordset question Pin
Alexandru Savescu14-Jul-03 4:29
Alexandru Savescu14-Jul-03 4:29 
GeneralRe: recordset question Pin
jafrazee14-Jul-03 7:32
jafrazee14-Jul-03 7:32 
GeneralRe: recordset question Pin
Nick Parker14-Jul-03 4:35
protectorNick Parker14-Jul-03 4:35 
GeneralRe: recordset question Pin
jafrazee14-Jul-03 7:34
jafrazee14-Jul-03 7:34 
GeneralRe: recordset question Pin
David Crow14-Jul-03 8:02
David Crow14-Jul-03 8:02 
GeneralRe: recordset question Pin
jafrazee14-Jul-03 8:16
jafrazee14-Jul-03 8:16 
GeneralRe: recordset question Pin
David Crow14-Jul-03 8:34
David Crow14-Jul-03 8:34 
I'm not as experienced with Access, but I do not know of it having anything internally that will pack a database. If that is indeed the case, you will need to do it manually. Something like:

open database in exclusive mode
create a temporary database
for each row that is not marked for deletion, copy it to temporary database
close the temporary database
close the main database
delete the main database
rename the temporary database

This is a very high-level overview but hopefully you get the idea. You might also want to look at the Compact utility. It works in basically the same way I described above, but no doubt more elegantly!
GeneralRe: recordset question Pin
jafrazee14-Jul-03 8:40
jafrazee14-Jul-03 8:40 
GeneralRe: recordset question Pin
Toni7814-Jul-03 19:48
Toni7814-Jul-03 19:48 
Generalprinter prog Pin
:wq!14-Jul-03 3:35
:wq!14-Jul-03 3:35 
GeneralRe: printer prog Pin
John M. Drescher14-Jul-03 3:54
John M. Drescher14-Jul-03 3:54 
GeneralRe: printer prog Pin
:wq!14-Jul-03 4:25
:wq!14-Jul-03 4:25 
GeneralRe: printer prog Pin
:wq!14-Jul-03 4:35
:wq!14-Jul-03 4:35 
GeneralRe: printer prog Pin
John M. Drescher14-Jul-03 4:54
John M. Drescher14-Jul-03 4:54 
GeneralRe: printer prog Pin
:wq!14-Jul-03 4:57
:wq!14-Jul-03 4:57 
GeneralExtension association Pin
martin_j14-Jul-03 3:26
martin_j14-Jul-03 3:26 
GeneralRe: Extension association Pin
David Crow14-Jul-03 8:06
David Crow14-Jul-03 8:06 
GeneralRefreshing Child Windows Pin
RishiPatel14-Jul-03 2:46
RishiPatel14-Jul-03 2:46 
Generala hard question ---about using OpenDriver() Pin
gdzfy14-Jul-03 2:45
gdzfy14-Jul-03 2:45 
GeneralHide File/Folder Pin
vikramlinux14-Jul-03 2:41
vikramlinux14-Jul-03 2:41 
GeneralRe: Hide File/Folder Pin
David Crow14-Jul-03 3:13
David Crow14-Jul-03 3:13 
GeneralCSV class Pin
JensB14-Jul-03 2:26
JensB14-Jul-03 2:26 
GeneralCString questions Pin
johnstonsk14-Jul-03 2:21
johnstonsk14-Jul-03 2:21 
GeneralRe: CString questions Pin
Alexandru Savescu14-Jul-03 2:28
Alexandru Savescu14-Jul-03 2:28 

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.