Store data into Access
From: Art (Art_at_discussions.microsoft.com)
Date: 07/22/04
- Next message: Henry: "Re: Get property values of installer"
- Previous message: Mark: "Tab pages out of order"
- Next in thread: Cor Ligthert: "Re: Store data into Access"
- Reply: Cor Ligthert: "Re: Store data into Access"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 22 Jul 2004 09:25:28 -0700
Hi,
I have a small table in an Access database, each record has 3 fields. I want to store 3 values into a record. I looked at the view SQL in Access and saw the following:
INSERT INTO Loaded_Tables ( TableName, Date_Added, [Rows] )
SELECT "abc" AS Expr1, Now() AS Expr2, 100 AS Expr3;
So I guess I can just use this SQL in a OleDbCommand.
Is there a better way to do this? I just found out about DataRows by reading some answers in this discussion area -- is that a good way to do it? If so, I don't know how one stores a DataRow in an Access Table.
I'd appreciate any help.
Thanks,
Art
- Next message: Henry: "Re: Get property values of installer"
- Previous message: Mark: "Tab pages out of order"
- Next in thread: Cor Ligthert: "Re: Store data into Access"
- Reply: Cor Ligthert: "Re: Store data into Access"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|