Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
insert record - approving entry before going live?
Old 03-14-2005, 08:09 PM insert record - approving entry before going live?
webgurl's Avatar
Skilled Talker

Posts: 70
Location: Australia
Trades: 0
I tried this and it does not hide the entry

In Access -

Field name: approved
Data type: Yes/No
Format: True/False

In my recordset -

SELECT *
FROM myTable
WHERE approved = TRUE

My hidden field -

<input type="hidden" name="approved" value="false">

I am using hidden fields on the page that sends the data to the database as it is a confirmation page.
webgurl is offline
Reply With Quote
View Public Profile Visit webgurl's homepage!
 
 
Register now for full access!
Old 03-14-2005, 08:14 PM
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
Open up your database after inserting fields with different values - you can then say weather it's the insert record gode or the get record code that's causing the problem...
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 03-14-2005, 10:24 PM
webgurl's Avatar
Skilled Talker

Posts: 70
Location: Australia
Trades: 0
Sorry, your answer I do not understand
webgurl is offline
Reply With Quote
View Public Profile Visit webgurl's homepage!
 
Old 03-15-2005, 05:48 AM
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
Well, if you have Microsoft Access installed, just double-click on the .mdb file (Your database) top open it in Access. Click on Tables, and double click on the table that you just inserted data into. Make sure it's all correct. If it is, you know the data inserted properly and so it must be reading the data thats the problem - however if the data is wrong, it's more likely that the code that inserts the data is wrong somewhere.
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 03-15-2005, 05:49 PM
webgurl's Avatar
Skilled Talker

Posts: 70
Location: Australia
Trades: 0
Worked it out with SQL WHERE statement. The problems was never the database.
webgurl is offline
Reply With Quote
View Public Profile Visit webgurl's homepage!
 
Reply     « Reply to insert record - approving entry before going live?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.41699 seconds with 12 queries