Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Borland Delphi > Complex data st...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 3687 of 3852
Post > Topic >>

Complex data structure

by DoctorC <ecolautti@[EMAIL PROTECTED] > Apr 11, 2008 at 01:30 PM

I have a field in the User Interface to fill with data.
This data in the UI can be typed in or selected from the dropdown list 
associated with the field.
The data type changes according to another field.
So data can be a number or a string or a date or "pointing" to a record 
and in this case it is choosen from the dropdown list and represented by 
the string contained in the record field "name".

I have problems trying to define the data structure for this field, 
because of the multiplicity of values the field can hold.
I thought about using pointers to records or objects containing the 
"complex data" but how to include simple data as strings or numbers?

How should I organize this data? Pointers? Variants? objects? Dynamic 
records? Other structures?


Enrico
 




 3 Posts in Topic:
Complex data structure
DoctorC <ecolautti@[EM  2008-04-11 13:30:32 
Re: Complex data structure
"Maarten Wiltink&quo  2008-04-11 14:00:32 
Re: Complex data structure
Jamie <jamie_ka1lpa_no  2008-04-11 17:58:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 19:28:22 CDT 2008.