I am struggling a little to find out how I can acheive the following:
I have saved some data to a file and from that file I need to create a report. The saved data is saved in the following format:
000123600020001201230156
I have used a text box to receive the data called txtData - this bit I...
Hi jmcilhinney,
Thank you for your help!
I have created the class:
Public Class CPurchase
Public RefNum As Integer
Public Type As Integer
Public Weight As Integer
Public Quantity As Integer
Public CalcMeth As Integer
Public BuyPrice As Integer
Public SalePrice As Integer
Public Price As...
Hi,
I have created an ArrayList called AL to hold the values of 5 textboxes and 2 comboboxes. These all represent one purchase object. The code is as follows:
Dim AL as ArrayList = Nothing
AL = New ArrayList
AL.Add(objPurchase.RefNum & objPurchase.Type & objPurchase.Weight &...
[Resolved] Help needed...(file IO, format function)
Hi sevenhalo, thanks for your help! I have tried the code and it works perfectly. :D
Here is my code:
If Len(txtRefNumber.Text) < 6 Then
txtRefNumber.Text = Me.txtRefNumber.Text.PadLeft(6, "0")
End If
Thanks again!!
I have created a form that has 5 text boxes and a button. When the user enters a value in the boxes they click on the button to save the data.
The saved data must then be read to a text file in a required format.
For example, the data entered in textbox1 is a reference number. The reference...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.