KeyserSoze
Programmer
I have two public record structures in my application as follows:
Public Structure Input_Record
<VBFixedString(1770)> Dim Confirm_Buffer As String
End Structure
Public Structure Input_Record_Detail
<VBFixedString(1)> Dim IN_REC_TYPE As String
<VBFixedString(1)> Dim IN_CONFS_TO_PRINT As String
<VBFixedString(8)> Dim IN_ACCT_NUMBER As String
<VBFixedString(1760)> Dim FILLER As String
End Structure
In a routine, I have declared two local structures:
Dim New_Record As Input_Record
Dim New_Record_Detail As Input_Record_Detail
After opening my input file, I perform a read:
FileGet(InputChannel, New_Record)
Is there a way to copy the contents of New_Record over to New_Record_Detail? Is there a way to automatically associate the value of New_Record with New_Record_Detail so that when New_Record changes in value, the value of New_Record_Detail will change as well?
Thanks!
Public Structure Input_Record
<VBFixedString(1770)> Dim Confirm_Buffer As String
End Structure
Public Structure Input_Record_Detail
<VBFixedString(1)> Dim IN_REC_TYPE As String
<VBFixedString(1)> Dim IN_CONFS_TO_PRINT As String
<VBFixedString(8)> Dim IN_ACCT_NUMBER As String
<VBFixedString(1760)> Dim FILLER As String
End Structure
In a routine, I have declared two local structures:
Dim New_Record As Input_Record
Dim New_Record_Detail As Input_Record_Detail
After opening my input file, I perform a read:
FileGet(InputChannel, New_Record)
Is there a way to copy the contents of New_Record over to New_Record_Detail? Is there a way to automatically associate the value of New_Record with New_Record_Detail so that when New_Record changes in value, the value of New_Record_Detail will change as well?
Thanks!