Lost Password?

Go Back   CodeCall Programming Forum > Software Development > Visual Basic Programming

Unregistered, Check out the Coder Battles in the Announcement and Game forums.

Visual Basic Programming Discussion forum for Visual Basic, an event driven programming language and associated development environment from Microsoft for its COM programming model.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-27-2007, 03:35 PM
ORACLE ORACLE is offline
Newbie
 
Join Date: Mar 2007
Posts: 5
Credits: 0
Rep Power: 0
ORACLE is on a distinguished road
Exclamation Access database query using sql help !!!

Access database query using sql help !!!
I am using vb 6.
I get a message saying query too complex, i have loads of check boxes acting as cinema seats, that are booked and not booked.
Im current using this:
Code:
Adodc1.Recordset.Update
Adodc1.Recordset.Requery
Can anyone tell me how to maybe save it in a different way???
maybe like this??
Code:
Adodc1.Recordset.Fields("r1-1") = Check1
Adodc1.Recordset.Fields("r1-2") = Check2
Adodc1.Recordset.Fields("r1-3") = Check3
Adodc1.Recordset.Fields("r1-4") = Check4
Adodc1.Recordset.Fields("r1-5") = Check5
thanks for any help, i need this very soon, sorry about the rush.
thanks
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 03-27-2007, 07:50 PM
Lop's Avatar   
Lop Lop is offline
Speaks fluent binary
 
Join Date: May 2006
Posts: 1,149
Credits: 112
Rep Power: 16
Lop will become famous soon enough
Default

Is it possible for you to show us the query?
__________________
Lop
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-28-2007, 04:05 AM
ORACLE ORACLE is offline
Newbie
 
Join Date: Mar 2007
Posts: 5
Credits: 0
Rep Power: 0
ORACLE is on a distinguished road
Default

I am trying to save the follwing data types (check boxes) to my database as shown it these images:
Example here in Vb

This is it running:
Example running

My database name is: cinema

My table is: booking

And my table is layed out as show bellow:
Click here
It go's "r1-1" up to "r1-20"
It go's "r2-1" up to "r2-20"
It go's "r3-1" up to "r3-20"
It go's "r4-1" up to "r4-20"
It go's "r5-1" up to "r5-20"
It go's "r6-1" up to "r6-20"

hope this makes it clear now
thanks in advanced
ORACLE
Attached Thumbnails
access-database-query-using-sql-help-example.jpg  access-database-query-using-sql-help-example-running.jpg  access-database-query-using-sql-help-example-access.jpg  
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-16-2007, 11:13 AM
ORACLE ORACLE is offline
Newbie
 
Join Date: Mar 2007
Posts: 5
Credits: 0
Rep Power: 0
ORACLE is on a distinguished road
Default

should i busing ADO
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-16-2007, 01:12 PM
NeedHelp NeedHelp is offline
Programming God
 
Join Date: May 2006
Posts: 527
Credits: 0
Rep Power: 12
NeedHelp is on a distinguished road
Default

I'm not sure but it can't hurt to try:

DB2 Universal Database
__________________
I Need Help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I centralize sql server database hoser2001 Database & Database Programming 3 07-13-2007 01:07 PM
Retrieving Access Database tigger Visual Basic Programming 0 07-06-2007 12:27 AM
Best program for SQL database manipulation Rhadamanthys Database & Database Programming 3 07-02-2007 02:32 PM
Database Tuning Advisor in SQL Server 2005 reachpradeep Database & Database Programming 0 03-03-2007 12:46 PM
Question: free webhosting with PHP, SMTP, and at least one SQL database skilletsteve Hosting and Registrars 5 12-08-2006 04:36 AM


All times are GMT -5. The time now is 05:05 PM.

Contest Stats

Xav ........ 1276.19
MeTh0Dz|Reb0rn ........ 1047.22
marwex89 ........ 869.98
morefood2001 ........ 868.04
John ........ 857.15
WingedPanther ........ 761.06
Brandon W ........ 684.87
chili5 ........ 294.12
dargueta ........ 192.86
Steve.L ........ 192.06

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 81%

Ads