Hi folks --
 
I am hoping you can help me understand the distinction between Fields and 
FieldDefs when working with (Client) DataSets. I'm confused. Here's my 
thinking: I'm thinking that FieldDefs define the fields (e.g., this one's a 
string called "name" and that one's an integer called "age"). If so, then what 
are the Fields? Do they represent the user inputted data, i.e., they're like an 
array? (If my example CDS had three entries, would it have two Field 
objects--prob. called CDSName and CDSAge--each with a count of 3?) 
 
I get confused because in setting up datasets at design time I can create 
FieldDefs *or* Fields (via the Fields Editor). (I know that some field types 
can't be created as FieldDefs.) So, what's different when I set up fields these 
two different ways? What's the IDE doing in each case?... Is this right: if you 
set up FieldDefs, all the IDE creates are FieldDefs; if you set up Fields, it 
creates Fields and  underlying FieldDefs? Does the IDE essentially create a 
database record in the latter case?
 
Hopefully all my questions will give you a sense of where I'm confused and 
where I most need clarification. ... I am looking forward to whatever lesson 
you would like to provide me.
 
Thanks, as always -- Al C.
_________________________________________________________________
Use video conversation to talk face-to-face with Windows Live Messenger.
http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008
_______________________________________________
Delphi-DB mailing list
Delphi-DB@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-db

Reply via email to