on 12-14-2004 10:56 AM
Hi all; in my code:
CondPagamento.GetByKey(Fattura.PaymentGroupCode)
If CondPagamento.StartFrom = pdt_MonthEnd Then
.....
if i have a lot of database, this code is good; in 1 database, this CondPagamento.GetByKey(Fattura.PaymentGroupCode) failed!
But if try with recordset:
Set vSere = Societa.GetBusinessObject(BoRecordset)
vSere.DoQuery ("SELECT T0.PayDuMonth FROM OCTG T0 WHERE T0.GroupNum =" & kKiave)
vSere.MoveFirst
i read in this table.
Why in this database with the object and methods i don't read in table but with the recordset i read?)
Do you have any idea?
Serema
Hi all, i solved!
in my table OCTG, the primary key was disappeared!
And the method GetByKey test the primary key of table OCTG!
Best regards
Serema
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.