Hi,
I'm trying to understand why the following are returning 2 different results:
Set mDBLinkCmpRW = OpenDBLink(DBLINK_COMPANY, DBLINK_FLG_READWRITE)
mDBLinkCmpRW.OpenView "IC0280", vICHIST
vICHIST.Browse "ITEMNO = ""02250115-443""", True
And:
select * from ICHIST where ITEMNO = '02250115-443'
When I run the select statement I get 4 records, but when I create that view I'm only getting 2 records. I'm 100% sure I'm running it against the same database (I'm working on our test server only) and I really can't figure this out. Here's the results from SQL:
DAYENDSEQ ENTRYSEQ LINENO
597 32 1
108545 1 7000
125954 1 6000
147481 1 1
If I .browse I get DAYENDSEQ 108545 and 147481, but not the others and if i specific try to .browse for the other records I get a different item for dayend 597/32/1 and not record is found 125954/1/6000.
Help?
I'm trying to understand why the following are returning 2 different results:
Set mDBLinkCmpRW = OpenDBLink(DBLINK_COMPANY, DBLINK_FLG_READWRITE)
mDBLinkCmpRW.OpenView "IC0280", vICHIST
vICHIST.Browse "ITEMNO = ""02250115-443""", True
And:
select * from ICHIST where ITEMNO = '02250115-443'
When I run the select statement I get 4 records, but when I create that view I'm only getting 2 records. I'm 100% sure I'm running it against the same database (I'm working on our test server only) and I really can't figure this out. Here's the results from SQL:
DAYENDSEQ ENTRYSEQ LINENO
597 32 1
108545 1 7000
125954 1 6000
147481 1 1
If I .browse I get DAYENDSEQ 108545 and 147481, but not the others and if i specific try to .browse for the other records I get a different item for dayend 597/32/1 and not record is found 125954/1/6000.
Help?