473,396 Members | 1,748 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,396 software developers and data experts.

DB process not using table inquiry

78
I have used the knowledge of this forum to get me through some steps in this DB up til now, I am hoping you all can help me get through the next step.

I am creating a work schedule based upon different criteria. Since the code for this is very long I am going to post the DB along with this post.

The problem I am having now is that when it creates the schedule I need to have it use existing tables to see if there are shift requests and days off, etc.

It is clear that when the code runs it does not properly vies the recordset information. I believe that if we correct the first clear problem I can use it to correct the rest.

In the DB the code runs under the form - frmShiftConfiguration. I have it set up to vies tblHoliday and if the vDate is the same as a date entered intot he table it should move to the next vDate and not enter any information into the tblShift Detail.

I have left in a May schedule to show results. If you check code by running a schedule...Please use qryClear to clear results and run May as that is the only month with a holiday scheduled. (In Calendar view it shows holiday correctly because on my code for modCalendar, But if you view table 5/26 was still scheduled)

Please take a look at it and let me know if you can figure any of this out. Thank you in advance for your help. I apologize if this isnt clear. Any questions please ask.

Nick

P.S. I am using Win2000 and Access2000 for this DB.
Attached Files
File Type: zip Schedule Try-NEW.zip (229.8 KB, 81 views)
May 5 '08 #1
2 1305
nico5038
3,080 Expert 2GB
It's very hard to understand what your code should achieve.
So I'll concentrate on giving advice to find out where it goes wrong.
Just place a breakpoint (click in the left ruler of the code) on the first statement of the code behind the button you use to trigger the shift processing.
Now open the form and press the button.
The code will stop on the breakpoint and you can use F8 to single step through the lines. Holding the mouse pointer above a field will show the contents and when a query string is build you can use in the immediate window a ? as print statement to see the query like:
?strSQL
This query can be pasted in a new query's SQL text and thus tested for the expected rows.

Hope this give you a way to solve your problem.

Nic;o)
May 7 '08 #2
nspader
78
Thank you for you advice.

I was able to work my through it after seeing a few different posts on the web.

Nick
May 9 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Bill Michaelson | last post by:
I have an app where I would like to display a returned table with column headings as specified in the inquiry (select), while preserving the column sequence of columns as specified in the original...
6
by: gizmo | last post by:
I have a requirement to initiate more than one instance of an application using the filenames. (the example below will start two instances of MS Word). My problem is that I need to kill each...
4
by: segue | last post by:
Just Curious.
8
by: gracealic | last post by:
I am new to access can someone tell me how do we send the data entered from an inquiry form to a table. say i have a form which has fields client name client address client phone client...
1
by: Anthony J. Biondo Jr. | last post by:
Hi Everyone: I was wondering if it is common practice to use some sort of messaging (MSMQ, WebSphere MQ) with web services. I understand the need for messaging for insert / update transactions,...
1
by: Kenny | last post by:
I'm looking at GUI standards and designs patterns for an upcoming project. I have read the MS Patterns and Practices for the User Interface Process Application Block for .NET block. Everything...
3
by: cbradio | last post by:
Hi, I am having trouble developing a form in a restricted environment. My sample code is found below my message (sorry I don't have a URL). Basically, without a doctype, the form displays properly...
4
by: Richard Rossel | last post by:
Hi Fellows, I have a problem with process termination. I have a python code that apache runs through a django interface. The code is very simple, first, it creates a process with the...
8
by: Brian | last post by:
I've heard from computer programmers that if a programmer wants to program a list of 500 words, they can use an algorithm to represent the list of 500 words, instead of typing each of the 500...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.