Search : in
By :

Visual Basuc Help - Random Access Files

Last answer on Jan 24, 2009 9:43:06 pm GMT plzhelp, on Jan 8, 2009 12:15:19 am GMT 
 Report this message to moderators

Hi,I am having problems with deleting a record in a random access file. I cannot leave the rcord blank because I load the file into a listbox and a blank line will show up in the list box then.

I heard about making another random access file and then copying the information there without the one which should be deleted. And then deleting the old file and renaming the new one.
I just was not sure how to go about doing this.

Thanks for your time, and any help will be appreciated!

Best answers for « Visual Basuc Help Random Access Files » in :
Random access memory (RAM or PC memory) Show Types of random access memory There are generally two broad categories of random access memory: DRAM memories (Dynamic Random Access Module), which are inexpensive. They are used essentially for the computer's main memory SRAM memories (Static...
Coding to link Visual basic to MS Access ShowCoding to link Visual basic to MS Access Issue Solution Note Issue Hello, Please I need to know the coding, how to link visual basic to MS Access! Solution You can try this: Option Explicit Dim conn As ADODB.Connection, rec...
Generating random numbers with rand() ShowGenerating random numbers with rand() You may have noticed when using the rand() found in the standard library of C language, you often get unsatisfied by the results, they look the same. For example, when trying 5 random numbers in...
Determining how much ram memory and virtual memory you require ShowDetermining how much Ram memory and virtual memory you require WINDOWS XP WINDOWS XP Presentations WINDOWS XP Multemedia Applications WINDOWS VISTA WINDOWS VISTA Office and Business purposes WINDOWS VISTA Multimedia...
Computer - Introduction to Memory ShowThe Role of Memory The term "memory" applies to any electronic component capable of temporarily storing data. There are two main categories of memories: internal memory that temporarily memorises data while programs are running. Internal memory...
Memory management ShowDescription of the memory The physical memory on a system falls into two categories: the random access memory: made up of integrated circuits, therefore very fast mass storage: made up of magnetic supports (hard drive, magnetic tapes, etc.), much...
PC assembly - Inserting memory modules ShowInserting RAM modules There are various types of random access memory. The latest motherboards are equipped with DDR2 or DDR memory. Some are even equipped with RAMBus memory. The oldest ones actually have SDRAM connectors, or even EDO RAM...

1

lgmobile.cz, on Jan 8, 2009 6:56:45 am GMT

Hi,
try this link to get all the information you need:
http://www.vb6.us/tutorials/working-random-access-files-vb

Reply to lgmobile.cz

2

plzhelp, on Jan 8, 2009 9:54:02 pm GMT

Thanks for ur response, but I dont think that "how to delete a record in a random access file" is there. There was how to clear a record I think but I want to be able to delete a record and then move up all the records under it by one, so if there were 30 records and i deleted one then there would be 29 with no blank records.

Thanks

Reply to plzhelp

3

 pja2, on Jan 24, 2009 9:43:06 pm GMT
Reply to pja2