1
Answer

transfering a whole row from access to VB.net

Photo of Adam Webb

Adam Webb

14y
1.8k
1
the task is a EPOS system and ive got it that the barcode number (PLU) is sent to access and im trying to return the values of the whole row which PLU code corresponds to it, but it wont work. the data is sent into a textbox


If a = TextBox1.Text Then

rec = mdb.OpenRecordset("ITEMS", DAO.RecordsetTypeEnum.dbOpenTable)
rec.Index = "PrimaryKey"
rec.Seek("=", TextBox1.Text)
If rec.NoMatch() Then
MsgBox("Record Not Found")
Else
Return (rec.Fields("PLU", "MANUFACTURE", "ITEM", "ITEM NAME", "SIZE", "COLOUR", "PRICE").Value)
End If

End If


if any more info is need just ask 

Thank you

Adam

Answers (1)

0
Photo of zivz vizv
NA 3 1.7k 13y
how do I point to that bin directory?
0
Photo of Jaganathan Bantheswaran
NA 21.9k 2.2m 13y
Hi,

First locate the Bin directory wherever you want.
While hosting the WCF just point the Bin direct.