Print Page | Close Window

AddItem Difficulty

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=3462
Printed Date: 10 May 2024 at 3:48pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: AddItem Difficulty
Posted By: caninesoftware
Subject: AddItem Difficulty
Date Posted: 03 January 2006 at 8:07pm

When using AddItem to add data to the record, it adds the data to every column in the record.  I have 7 columns, and when I issue form.oRecord = form.oReport.Records.Add(), then form.oRecord.AddItem(70), it adds "70" to each column in the record, and displays "70" 7 times across the screen.

What am I doing wrong?... :-)

 

 



-------------
Chuck Spafford
cspafford@caninesoftware.com



Replies:
Posted By: Oleg
Date Posted: 04 January 2006 at 12:57am

Hi,

When you create columns check that first parameter is unique in each column

Set Column = wndReportControl.Columns.Add(COLUMN_IMPORTANCE, "Importance", 18, False)



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: caninesoftware
Date Posted: 04 January 2006 at 1:30am

Worked perfectly!!  Thank you!!  Thank you!!  Thank you!!

Now our customers will be happy... at least for now...

 



-------------
Chuck Spafford
cspafford@caninesoftware.com



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net