Search:
Type: Posts; User: jordiebarrett
Search:
Search took 0.03 seconds.
-
Hey, I've also now added this piece of code to the bottom of the orginal code...
Open Filename For Random As #1 Len = Len(product)
Get #1, 1, newquantity
newquantity =...
-
Hi, I've created a program to be used in a school to monitor the stock of equipment. a student is able to loan stock out, which should as a result drop the ammount of stock by 1 and increase a tally...
-
April 24th, 2013, 01:41 PM
Get #1, , product
If index <> recordnumbeRtodelete Then
Put #2, , product
End If
Success! I miss-spelt the word record...However...it may just be me being dumb here...once...
-
April 24th, 2013, 01:38 PM
Hi, again thanks for the reply...ive done all the steps you said about cleaning the code up and the .txt :)
However, i still cant get it to delete the record i want it to when pressing the cmd...
-
April 24th, 2013, 12:37 PM
Hi David, I finally have the product deleting the old file and renaming the new! However, now when i click delete no records are removed...instead all the records are moved without the orginal one...
-
April 21st, 2013, 04:38 PM
Hey David, thanks for the reply. However, Im slightly confused on the three line batch program? and surely, if i rename the file before i open it...when it goes to open it...it wont be able to find...
-
April 21st, 2013, 08:36 AM
Hey, heres the code...
Private Sub cmddelete_Click()
Dim File As String
Dim index As Integer
Dim NumberOfRecords As Integer
Dim recordnumbertodelete As Integer
Dim newfilename As String...
-
April 20th, 2013, 02:27 AM
Hi, thank you for the replies so far. I'm currently out, so will try uploading the files again later. Also I will
Copy the code aswell. The program stores information on different pieces of...
-
April 19th, 2013, 04:47 PM
Hey, Second post...same program...Currently trying to code a program that will be used in a school style situation. What im stuck with is deleting a record from the document. It should copy them all,...
-
April 17th, 2013, 07:48 AM
Hi, thanks for the replies! I had indeed missed that line of code, however now the program deletes the orginal file but doesnt create the new one for the data to be put into? It should copy all the...
-
April 16th, 2013, 03:39 PM
Hey, this is my first post. Currently completing A2 ICT and we have a brief to code a program to allow a school worker the ability to monitor the loaning of equipment. Got an array so i can add data...
|
Click Here to Expand Forum to Full Width
|