Advertisement

02.11.2004 at 08:24AM PST, ID: 20881258
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

5.0

CONVERT PB APP FROM ASA TO SQL SERVER 2000

Asked by pemurray in PowerBuilder Programming Language

Okay, so I get all done with my app and then someone wants to move it onto SQL Server 2000 (Sorry Sybase).

I use PowerDesigner, re-generate the tables, create an odbc connection to the database and update the open even of the application.  Basically, it seems to work!!

But in that nasty date oriented query that Namasi was helping me with, I am getting SQL STATE 37000 errors:

I was using DATE which is not supported by SQL Server.

I changed the retrieval arguments from DATE to DATETIME.
I changed the variable in the script from a DATE to DATETIME.
I even changed the editmask controls from a DATEMASK! to DATETIMEMASK!

When I go into the datawindow and manually enter the query arguments, the dw works fine.  But I am still having trouble running the app.

Here is where I currently am with the code:

Any help would be greatly appreciated.

Best regards,

Paul

int inprocess_int
int onhold_int
int targeted_int
int completed_int

string inprocess
      if cbx_inprocess.checked then
            inprocess = "In Process"
            if (inprocess="") then
                  inprocess_int = 0
            else
                  inprocess_int = 1
            end if
      end if
      
string onhold
      if cbx_onhold.checked then
            onhold = "On Hold"
            if (onhold="") then
                  onhold_int = 0
            else
                  onhold_int = 1
            end if
      end if
      
string targeted
      if cbx_targeted.checked then
            targeted = "Targeted"
            if (targeted="") then
                  targeted_int = 0
            else
                  targeted_int = 1
            end if
      end if
      
string completed
      if cbx_completed.checked then
            completed = "Completed"
            if (completed="") then
                  completed_int = 0
            else
                  completed_int = 1
            end if
      end if

if (inprocess_int + onhold_int + targeted_int + completed_int = 0) then
      messagebox("Error!","You must select at least one Status Option")
      return 1
end if
      
datetime startdate
datetime enddate

em_start_date.GetData(startdate)
messagebox("GetData Results:Start Date",string(startdate))

em_end_date.GetData(enddate)
messagebox("GetData Results:End Date",string(enddate))

if (date(enddate) <= date(startdate)) then
      messagebox("Error!","End Date cannot be equal to or less than Start Date.")
end if

dw_1.retrieve(inprocess,onhold,targeted,completed,startdate,enddate)

Start Free Trial
[+][-]02.11.2004 at 09:40AM PST, ID: 10334358

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.11.2004 at 10:01AM PST, ID: 10334559

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.11.2004 at 10:07AM PST, ID: 10334619

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.11.2004 at 10:27AM PST, ID: 10334834

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.11.2004 at 10:41AM PST, ID: 10334992

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.11.2004 at 10:52AM PST, ID: 10335096

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.11.2004 at 11:00AM PST, ID: 10335144

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.11.2004 at 11:07AM PST, ID: 10335208

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.11.2004 at 12:56PM PST, ID: 10336102

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.11.2004 at 01:00PM PST, ID: 10336148

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.11.2004 at 02:54PM PST, ID: 10337169

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.11.2004 at 02:57PM PST, ID: 10337193

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.11.2004 at 03:05PM PST, ID: 10337243

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.11.2004 at 03:08PM PST, ID: 10337269

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.11.2004 at 03:10PM PST, ID: 10337274

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.11.2004 at 03:32PM PST, ID: 10337442

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.11.2004 at 03:40PM PST, ID: 10337483

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.11.2004 at 06:29PM PST, ID: 10338766

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.12.2004 at 08:02AM PST, ID: 10343612

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.12.2004 at 08:05AM PST, ID: 10343645

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.12.2004 at 09:33AM PST, ID: 10344497

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.12.2004 at 09:36AM PST, ID: 10344536

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.12.2004 at 11:10AM PST, ID: 10345454

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.12.2004 at 01:48PM PST, ID: 10347178

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.12.2004 at 03:50PM PST, ID: 10348118

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.12.2004 at 05:15PM PST, ID: 10348733

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.12.2004 at 06:40PM PST, ID: 10349166

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.12.2004 at 06:43PM PST, ID: 10349174

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: PowerBuilder Programming Language
Sign Up Now!
Solution Provided By: namasi_navaretnam
Participating Experts: 2
Solution Grade: A
 
 
[+][-]02.16.2004 at 02:55PM PST, ID: 10376852

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.16.2004 at 03:19PM PST, ID: 10377100

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy