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

Pastel Pervasive SQL problem

62
Hi I have the following SQl statement which Im executing in pervasive v9.

The stateemnt works except fot the last conditionion namely the:

AND HistoryHeader.ClosingDate <= '8/30/2007'

Complete Statement is:

SELECT CustomerMaster.UserDefined05 AS 'TRIP'
, CustomerMaster.UserDefined04 AS 'TOWN'
, CustomerMaster.CustomerDesc AS 'CUSTOMER'
, HistoryHeader.DocumentDate AS 'ORDER DATE'
, HistoryHeader.ClosingDate AS 'PLAN DATE'
, HistoryHeader.Message01 AS 'TIME'
, HistoryHeader.Message02 AS 'USER'
, HistoryHeader.SalesManCode AS 'ORIGIN'
, HistoryHeader.Message03 AS 'KEEP'
, InventoryCategory.ICDesc AS 'PRODCATDESC'
, Inventory.Description AS 'PRODUCT NAME'
, Inventory.ItemCode AS 'PRODUCT CODE'
, Inventory.UserDefText01 AS 'PRODUCT SIZE'
, Inventory.UserDefText02 AS 'PRODUCT FLAVOUR'
, HistoryLines.Qty AS 'PRODUCT QTY'
, HistoryLines.UnitPrice AS 'UNIT PRICE'
, HistoryLines.DocumentNumber AS 'INVOICED'

FROM CustomerMaster
INNER JOIN HistoryHeader
ON CustomerMaster.CustomerCode = HistoryHeader.CustomerCode
INNER JOIN HistoryLines
ON HistoryHeader.CustomerCode = HistoryLines.CustomerCode
INNER JOIN Inventory
ON HistoryLines.ItemCode = Inventory.ItemCode
INNER JOIN InventoryCategory
ON Inventory.Category = InventoryCategory.ICCode

WHERE CustomerMaster.UserDefined05
IN ('PE')

AND HistoryHeader.ClosingDate <= '8/30/2007'

The Error is:

[LNA][Pervasive][ODBC Engine Interface]Error in predicate: HistoryHeader . ClosingDate <= '8/30/2007'

Any ideas please?
Feb 8 '08 #1
0 1354

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

Similar topics

0
by: Classic Software, Inc. | last post by:
Need to get some Pervasive SQL or Btrieve data into a SQL Server database? For those needing to do so, we sell a very useful tool for Btrieve and Pervasive SQL Databases. Has an explorer type...
5
by: Chuy | last post by:
I am using Maximizer Enterprise 8.0 as my companies CRM solution. Currently we are using the included Pervasive SQL that shipps with the product. Is there someone out that who could tell me if...
5
by: Alex Le Dain | last post by:
What is the best way to access a Pervasive database on another machine? cheers, Alex.
0
by: Classic Software, Inc. | last post by:
Need to get some Pervasive SQL or Btrieve data into a Microsoft Access database? For those needing to do so, we sell a very useful tool for Btrieve and Pervasive SQL Databases. Has an explorer...
0
by: jan82 | last post by:
I receive the following error when trying to connect to a Pervasive database through ODBC: ERROR No available transport protocol for the Pervasive Network Services Layer. ERROR Driver's...
0
by: jan82 | last post by:
I receive the following error when trying to connect to a Pervasive database through ODBC: ERROR No available transport protocol for the Pervasive Network Services Layer. ERROR Driver's...
7
by: bryant | last post by:
Hi all. I am new to ASP and working in Expression Web. The following query displays the information I need in the gridview for a single record. SELECT "OE_HDR"."ORD_NO", "OE_HDR"."CUST_NAM",...
3
by: =?Utf-8?B?QW5keQ==?= | last post by:
Hi, I'm trying to set the background color of a datagrid cell into a pastel color. I can change this into other colors in the grid_ItemDataBound event thus: e.Item.Cells(3).BackColor =...
1
by: bailiss | last post by:
I am trying to save the " (inch mark) and ' (foot mark) into a database. I am not using MySQL regrettably. Instead, I have to use a Pervasive SQL database, version 8.5. The user is supposed to...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.