StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
Seting Default Values
Seting Default Values
Post Reply
Like
0
Seting Default Values
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Bradley Marston
Bradley Marston
posted 17 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 24,
Visits: 119
I have a BO with a lot of fields that need to set with defaults, I also have a datatable with the field name and value. Is there a way to set these defaults looping thru the data table without having to use a select case where i must type Case datatable.fieldname = me.fieldname. For example in vfp one could use macro
substitution , but not in vb.net or c sharp.net
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
Seting Default Values
Bradley Marston
-
17 Years Ago
Yeah...as you already know, macros were a very dangerous thing since...
Trent L. Taylor
-
17 Years Ago
After I posted the questionI thought there would be a way to do it...
Bradley Marston
-
17 Years Ago
On a related note is there a way tosimilarly add BrokenRules without...
Bradley Marston
-
17 Years Ago
Yes, there is an overload to accept the field name as a string. The...
StrataFrame Team
-
17 Years Ago
For one last question on the subject , how doI add a broken rule to a...
Bradley Marston
-
17 Years Ago
Yes, the constructor for the BrokenRule class is internal (Friend in...
StrataFrame Team
-
17 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