473,464 Members | 1,516 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Pastel Pervasive SQL problem

62 New Member
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 1356

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...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.