Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Thursday, November 21, 2024
slxdeveloper.com
Home
Search
Contact us
About slxdeveloper
Syndication
Community
Forums
(NEW!)
Newsletter Archive
Members
Your Profile
Submit Article
General
Administration
(6)
OLE DB Provider
Miscellaneous
(2)
Architect
VBScript
(9)
ActiveX Controls
(6)
How To's
(14)
.NET Extensions
(3)
External
OLE DB Provider
(12)
SLAPI (SlgxApi.dll)
SalesLogix COM
(1)
Web
ASP/ASP.NET
(2)
Web Services
Web Client
Downloads
Samples
(17)
Documentation
(7)
Utilities
(18)
Resources
SalesLogix
(3)
Programming
(1)
11/21/2024 6:50:48 PM
slxdeveloper.com
Now Live!
View User Profile
User Profile -
Ferdi
Ferdi
ATI
fjrigjwwe9r1SiteUser:UserBio
fiogf49gjkf0d
Log in
to send this member a message!
Ferdi
's Contributions
Ferdi
has contributed
2
comments and
0
articles.
Select to view:
Comments
Articles
Comment:
Re: Dynamically Creating DataGrid Columns
fiogf49gjkf0d
Hi Ryan,
My code is..... Im using the default datagrid of VB6.... Do I need to use the SLX ocx?where can I download it? Thanks
Dim col
Dim i
With DataGrid1
.SQL.Text = "SELECT header_id, order_no, ordered_date FROM so_header"
With .Columns
'remove any existing columns
If (.Count > 0) Then
For i = 0 To .Count - 1
.Item(0).Delete
Next
End If
'add column for header_id field
Set col = .Add(0)
col.FieldName = "header_id"
col.Caption = "Header ID"
col.ReadOnly = True
'add column for order_no field
Set col = .Add(0)
col.FieldName = "order_no"
col.Caption = "Order No"
col.ReadOnly = True
'add column for ordered_date field
Set col = .Add(0)
col.FieldName = "ordered_date"
col.Caption = "Order Date"
col.ReadOnly = True
End With
'now refresh the grid to see the new columns
.Refresh
End With
Author:
Ferdi
- 6/21/2007
Comment:
Re: Dynamically Creating DataGrid Columns
fiogf49gjkf0d
Im trying to retrieve record during runtime using datagrid. Im getting a compile error method or data member not found.....How will I solve this problem? Am I missing something?Do I need to download the SLXSaleslogic.ocx? Thanks
Author:
Ferdi
- 6/20/2007
slxdeveloper.com is brought to you courtesy of
Ryan Farley
&
Customer FX Corporation
.
This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.
code of conduct
|
page cache (param): 11/21/2024 7:18:03 PM