[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.axapta.programming

Grid show only one record

Adam Tarkowski

1/3/2006 10:53:00 PM

I have a problem, i passed by args some records to form in which in init
metod i insert them to table, and problem is with the grid, it show only
active record not all marked, datasource have default properities
i tried refreshing, rereading, researching, executing query and still
nothing, it make me mad
please help


5 Answers

rheu

1/4/2006 7:37:00 AM

0

Are you sure that you've inserted more records in the table (have you checked
this)? I think with the args object you only pass one record.
--
Regards,
Rob

Adam Tarkowski

1/4/2006 5:57:00 PM

0

i checked it, and it insert many records to the table but show only one


Adam Tarkowski

1/4/2006 6:29:00 PM

0

How can i remove ranges from datasource and links and then execute query
again so the grid show me only what i need??


Adam Tarkowski

1/4/2006 6:47:00 PM

0

Another clue: on button in clicked i delete the record which i see on the
grid, research datasource and execute query. after that the grid show me no
records but there are on the table.

And another clue: to my form i pass smmQuotationTable. My form show
smmCustQuotationJout which i build
Relation: smmQuotationTable.QuotationId ==
smmCustQuotationJout.origQuotationId
If i have records with same origQuotationId the grid show them all but only
for active QuotationId.
I don't know what to do


rheu

1/5/2006 7:17:00 AM

0

On the queryBuildDataSource object you have methods like clearRange(s),
clear(Dyna)Links. It's also possible to disable a datasource,
queryBuildDataSource.enabled(false).
Hopes this helps you any further.
--
Regards,
Rob