StrataFrame Forum
Back
Login
Login
Home
»
.NET Forums
»
General .NET Discussion
»
Working with Nulls
Working with Nulls
Post Reply
Like
0
Working with Nulls
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Ger Cannoll
Ger Cannoll
posted 15 Years Ago
ANSWER
Topic Details
Share Topic
Group: StrataFrame Users
Posts: 430,
Visits: 507
I dont particulalrly like working with nulls. I know there is an option in SF for repacing null values with a different value. I am considering goint back a step to the database set up. I notice there is a property on each filed called 'Default Vlaue or Binding' . I have played around with this and noticed that if i insert ' ' (Space within single quotes) for chrarcter and date fields, or 0 (Zero) fro numeric fields, it seems to default to a Non Null when I add a record (In SSMS at any rate) i.e. Spaces for character fields and Zero for numeric fields, which is just what I want (Similar to VFP if you add a record)
I would welcome any suggestions, if this is a good idea or if there are any 'Gotchas' down the line.
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Working with Nulls
Ger Cannoll
-
15 Years Ago
My policy is to let the requirements guide this sort of decision....
Greg McGuffey
-
15 Years Ago
Hi Greg. thanks for yur detailed reply [codesnippet]I used to use...
Ger Cannoll
-
15 Years Ago
Yeah, this can get confusing. It helps to understand how things are...
Greg McGuffey
-
15 Years Ago
Hi Gerard,
Take a look at:...
Peter Jones
-
15 Years Ago
Greg. many thanks for that very descriptive analysis of the steps, in...
Ger Cannoll
-
15 Years Ago
Glad that helped.
Be sure to take a look at the code in the...
Greg McGuffey
-
15 Years Ago
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search