D
Daryl Davis
I am having trouble with ReDim (see code below)
SaleTable2's structure includes an array for SaleDetailTable2
Dim newsale As New hallsales.SaleTable2
Dim detail As New hallsales.SaleDetailTable2
Try
redim newsale.SaleDetails(0) ********* This line comes out with an error
"Redim statement requires Array" *************
newsale.SaleDetails(0) = detail
a = obj.SellFromPOS(newsale, bcomplete)
Catch ex As Exception
End Try
Is there a way through or around this problem?
Daryl Davis
SaleTable2's structure includes an array for SaleDetailTable2
Dim newsale As New hallsales.SaleTable2
Dim detail As New hallsales.SaleDetailTable2
Try
redim newsale.SaleDetails(0) ********* This line comes out with an error
"Redim statement requires Array" *************
newsale.SaleDetails(0) = detail
a = obj.SellFromPOS(newsale, bcomplete)
Catch ex As Exception
End Try
Is there a way through or around this problem?
Daryl Davis