|
-
Jul 17th, 2001, 12:32 PM
#1
Thread Starter
New Member
MSflexgrid and null values
I am pull information into a flexgrid through a SQL statement. How do I allow it to accept a null value from the table
I tried
Msflexgrid.allowzerolength = true but allowzerolength isn't a property of the msflexgrid can someone please help
Crystal
-
Jul 18th, 2001, 08:28 PM
#2
Hi,
I usaually use a function to format the data before displaying
it on the flexgrid.
Code:
Function FormatNull(NullData) As String
If IsNull(NullData) Then
FormatNull = ""
Else
FormatNull = NullData
End If
End Function
'usage:
flxContact.textmatrix(1,1)=FormatNull(rsOrg("Url")
Hope this help
[VBF RSS Feed]
There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.
If I have been helpful, Please Rate my Post. Thanks.
This post was powered by : 
-
Jul 18th, 2001, 09:02 PM
#3
Hyperactive Member
You can try it this, by just appending an empty string to the field data...
flxContact.textmatrix(1,1) = rsOrg("Url") & ""
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|