|
-
Feb 20th, 2003, 12:48 PM
#1
Thread Starter
New Member
Using VB Data Environment
Hi,
I have set up an Access Database and am using it in conjunction with a VB application. I have already linked using the VB Data Environment in order to produce reports from the database however now i need to do add, edit and delete functions on the records(preferably using the DE) Does anyone know the syntax on how? Ive tried a SQL statement as follows...
stSQL = "INSERT into DOSE_TABLE( DOSE_NUMBER,EARTAG_NUMBER,MEDICINE,WITHDRAWEL_PERIOD,FROM) VALUES ('11','2','3','4','5')"
deFarMate.conDatabase ?X? stSQL
?X?-using the object type connection you would put execute in here but i cannot find the suitable word for a DE that wont raise an error. Am i wayyy off the mark?
Please Help!!
-
Feb 20th, 2003, 01:01 PM
#2
Fanatic Member
this doesn't work? It should.
deFarMate.conDatabase.Execute stSQL
VB 6.0, Access, Sql server, Asp
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|