|
-
Jan 5th, 2008, 04:03 PM
#1
Thread Starter
PowerPoster
[RESOLVED] Change fields in UDT
A few years ago as a pure VB rookie i created a UDT with the size of the fields specified. I now want to change some of the sizes.
How can i do this and still be able to open the old files created with the old UDT ?
Private Type PersonalInfo
stDate As String * 10
stLastName As String * 25
stFirstName As String * 20
stStreet As String * 45
stCity As String * 20
stState As String * 3
stZip As String * 12
stPhone As String * 20
stEmail As String * 35
stDeleted As String * 1
stWPhone As String * 20
stCell As String * 20
stPager As String * 20
stFax As String * 20
stNotes As String * 250
stCompany As String * 25
stCompanyOrLastname As String * 1
End Type
I am opening the files like this:
Dim gCustomer As PersonalInfo
Get miFilenumber, miIndex, gCustomer
I am saving the files like this:
Put miFilenumber, miIndex, gCustomer
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
|