473,325 Members | 2,712 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Entering data

hi,
i want to make a very simple guest book for my website. i have an MS access
database with a table and the following fields: ID (autonumber), name (text),
subject (text), message (memo) and date entered (date/time). i have a form as
well, on a web page, with a textbox for each of those fields except the first
and last. how do i enter the data entered on the form into the database? i
have an AccessDataSource called blogentries on the page if it helps.

i havent the foggiest of what to do in the form's submit button's OnClick
event. is anyone prepared to help?

thanks in advance, my friends
--
mensuur
Feb 26 '06 #1
1 1517
With clicking on SUBMIT button
a) Get text from your control
b) connect to DB
c) perform INSERT INTO(id, name, subject, message) values(@id, @name,
@subject, @message)
d) close db connection

It's just a roadmap
hi,
i want to make a very simple guest book for my website. i have an MS access
database with a table and the following fields: ID (autonumber), name (text),
subject (text), message (memo) and date entered (date/time). i have a form as
well, on a web page, with a textbox for each of those fields except the first
and last. how do i enter the data entered on the form into the database? i
have an AccessDataSource called blogentries on the page if it helps.

i havent the foggiest of what to do in the form's submit button's OnClick
event. is anyone prepared to help?

thanks in advance, my friends


--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche

Feb 26 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Babs Patel | last post by:
I'm new to database design, but I understand the basics of MySQL and php. To make a simple music database in MySQL, I've made a table of songs (song) and a table of players (player) joined by a...
0
by: Babs Mattel | last post by:
I'm new to database design and need some help. To make a simple music database, I've made a table of songs and a table of players joined by a bridge table (song_play) to allow many-to-many...
3
by: Jeff | last post by:
Hello I need help with a problem I have homework for a larger program than shown below but the code below effectively shows the problem whem compiled and executed. Basically, I want to be...
2
by: jayderk | last post by:
I am writing an application that has I/O entering data in a text field. My question is. does the event "textchanged" fire as soon as the data starts changing.. for example... if 12345 is being...
2
by: sp | last post by:
Hello Everybody, How can I restrict the user entering non-numeric data in textbox control on server side using asp.net. Any Code sample or suggestions are appreciated. Thanks in advance sp
12
by: MeNotHome | last post by:
I need to be able to open up a URL and enter some data, press a button and then wait for the page to load and then click a check box and press another button. Is there a good example on the...
4
by: dirk | last post by:
Hey, I'm new to php and I'm trying to write some php code so that I can insert data into a mysql database using html forms. I've got two text forms and a submit button. When entering data and...
6
by: robintwos | last post by:
Hi I would like to validate the while entering the data in a textbox for numeric values. it means . i would like to throw an error message when the user enters a character value. validation...
2
by: robertns5411 | last post by:
I have two questions: 1) Say I have a form bound to a table. Assume the user is entering data into a new record at the bottom of the form. Now, suppose the user clicks a button on the form...
4
by: Neil | last post by:
Having trouble with inserting a record into a table. It's a list of names. But, for some reason, it won't take a particular name. When a user tries to enter a name into the table, the system hangs...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.