Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WD22] Issue with HReadSeekFirst

$
0
0
Hello,

[wd22] [postgresql]

I have a composite key with 6 fields,

File1

Field1 varchar(10)
Field2 varchar(10)
Field3 int
Field4 varchar(10)
Field5 varchar(3)
Field6 int

Composite Key [Field1Field2Field3Field4Field5Field6]

When I try to read with
HReadSeekFirst(File1, Field1Field2Field3Field4Field5Field6, [Value1, Value2, Valu3, Value4, Value5, Value6] )

it always returns True.
Even HFound also returns true
Even for those values for which NO record is found.

It points to first record and returns value corresponding to the first record for any value that's been seek.

But the same query run through HExecuteSQLQuery returns correct value and record, but not using HReadSeekFirst.

Any thing that I'm missing ?

Happiness Always
BKR Sivaprakash

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>