Gidday this is Alister Christie from LearnDelphi.tv and in this video we're
going to look at how we can edit data sets or FDMemTables at design-time and
this is a handy new feature that's been added in a recent edition of of Delphi
and I'm just going to create a new multi device application and we just need a
blank one because effectively what we're gonna throw on there is an FDMemTable and
FDMemTable1 is fine and pull up the field editor and create a
new field so we'll call it name, it's a string field, and it can be 60 characters and we
can just set this to active and that will create now DataSet it and I can
right click and go edit DataSet and I can just start filling in values
and so on, and we go okay and just to kind of prove that's worked
let's go bind visually and link that when you control in a string grid is
perfect in there we can see we've got our data and of course that will work at
runtime as well. So able to do this for little datasets is quite handy allows
you to use like a rather than using like a string list or something like that you
might be able to use a 50 mm table instead which gives you a lot more power
and flexibility unfortunately the other in memory deficit decline that's it
doesn't have this facility as yet hopefully Embarcadero will edit so if we
do the same thing go to the field to editor and it helps new field
and we can't unlike if you mean table we can't just go sitting it actives true we
get a missing data packet or provider and we right-click and go create a set
and there particularly does the same thing so that's made addictive but if we
right-click on it there is no it local so basically if you want to do that
you'd have to sort of write a separate program to save out a data set to up to
file and then you could load it back in or you if you were particularly
masochistic you could handcraft one but that's not something I'd want to do so
that is effectively all I want to show you I will mention that if we go to
learned every TV and this is my website I have a bunch of commercial videos
available to free videos it's all the sort of a YouTube content but I have
premium videos as well and I need like an advert in here for the mega pick this
is you know why I don't have a job in marketing but you can get the mega pick
and you get it either get from here it allows you to download the video files
as h.264 video or an Beca requirement get Academy allows you to view them
online I think that's basically more of a flexible option because I do add to
the mega pack occasionally and you could get those if you put there so that's the
dag regression I'm Alistair Christie I hope you found this video useful
I certainly appreciate being at it edit assets now without having to sort of go
through all of the hoops to be able to do it so I hope you enjoy this feature
as well