H
Hexman
I've been trying to figure ADO.net/VB/AccessDB out for some time.
I've read many internet articles that have been pointed out to me by
people in this group. Thanks for trying to help. I just can't get
it. All I'm trying to do (in pseudo code) is:
Open a table in Access.
read a transaction from flat file until eof
Build a query ("Select * from purord where ponum = 'flat file
ponumber' ")
execute query
if record found
update the record
else
add the record.
Go read another transaction above.
Close all files
The transaction file will contain between 50 and 400 records so I
don't think I'll need to open and close the connection on each
transaction (as has been shown on many examples).
If the above logic is not the way to go using ADO.NET please show
proper logic and if possible, code.
I'd really like to get someone's example of the code required. It
seems like an easy task, but I just don't get it.
Thanks in advance,
Hexman
I just don't get it...I just don't get it...I just don't get it...
I've read many internet articles that have been pointed out to me by
people in this group. Thanks for trying to help. I just can't get
it. All I'm trying to do (in pseudo code) is:
Open a table in Access.
read a transaction from flat file until eof
Build a query ("Select * from purord where ponum = 'flat file
ponumber' ")
execute query
if record found
update the record
else
add the record.
Go read another transaction above.
Close all files
The transaction file will contain between 50 and 400 records so I
don't think I'll need to open and close the connection on each
transaction (as has been shown on many examples).
If the above logic is not the way to go using ADO.NET please show
proper logic and if possible, code.
I'd really like to get someone's example of the code required. It
seems like an easy task, but I just don't get it.
Thanks in advance,
Hexman
I just don't get it...I just don't get it...I just don't get it...