Hi guys, any idea how can i use innerjoin in VB, im not sure if its inner join that i nee to use.
Here is the scenario.
i have two tables: tblProductInfo and tblSerialNumber
tblProductInfo: StockCode,BarcodeNumber
tblSerialNumber: Serial,BarcodeNumber
Both tables have barcode number.
I Need to know what is the last Number that is being Generated.
example:
ProductInfo
SC0001 BC0001
SC0002 BC0002
SC0003 BC0004
SerialNumber
SC0004 BC0003
SC005 BC0005
In both table i need to know the last Barcode Number generated so that i can increment it with BC0006.
I tried
But my querry is wrong..
thanks in advance.
Here is the scenario.
i have two tables: tblProductInfo and tblSerialNumber
tblProductInfo: StockCode,BarcodeNumber
tblSerialNumber: Serial,BarcodeNumber
Both tables have barcode number.
I Need to know what is the last Number that is being Generated.
example:
ProductInfo
SC0001 BC0001
SC0002 BC0002
SC0003 BC0004
SerialNumber
SC0004 BC0003
SC005 BC0005
In both table i need to know the last Barcode Number generated so that i can increment it with BC0006.
I tried
Code:
rsconn "select BarcodeNumber from tblProductInformation INNER JOIN tblSerialNumber on tblProductInformation.BarcodeNumber = tblSerialNumber.BarcodeNumber"
'Increment Barcode Number
thanks in advance.