Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Datawindow - Connectivity Error.

Status
Not open for further replies.

siraj777

Programmer
Aug 22, 2002
27
IN
Hi All,

I am running an application on PB 6.5 / Sql Server 6.5

Getting the following message at client's location whenever try to query this datawindow. Tried to replicate at our location, but no luck. You guys have any ideas?

a) Is it related to privileges / qualifiers etc.,
b) Datawindow is retrieving the data from single table the sql is table.col1, table.col2 etc.,
c) Any info on web about this issue?

030522 15:21:20 > DW Error: (170 Row 0) Select error: SQLSTATE = 37000
[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '.'.

Thanks.
 
the above error is due to improper select.
before creating datawindow did u select the datasource properly check it
 
try leaving your dw in Graphic Mode.

if u are creating your dw manually, your Select is wrong. It's better to create dws and leaving them in Graphic Mode.

If this is not your problem, mail your code to see it.

Luck
 
Please Advice... how can i distinguish if the sql is invalid? does it return a value when retrieve so it would not prompt the message sqlstate = 37000....
Thanks, coz im new in powerbuilder...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top