Reset design time data? Delphi 10 Seatle

I was following the getting started section and created a design-time login for my Data Abstract table, and I entered the wrong schema by accident. Or rather i forgot that mine was named differently than in the table. Now when I want to edit the design time connection it gives me a nice little “Cannot find the schema Tasks” exception and prevents me from editing the incorrect schema.

Does anyone know of a way to reset this data on Delphi 10 Data Abstract?

If I understand you problem correctly, right mouse click on the TDAMemDataTable and select “Retrieve DataTable Schema”

Regards,
Monte Carver

Thanks a lot! :slight_smile:

You can also accomplish this at run time with the Method : “LoadSchema”

Retreive datatable schema has started to give me the same error

[1D2702CB]{RemObjects_Core_D23.bpl} Urobinmessage.TROBinMessage.IntReadFromStream + $1DF
[1D22368E]{RemObjects_Core_D23.bpl} Uromessage.TROMessage.ReadFromStream + $3A
[1D270B6F]{RemObjects_Core_D23.bpl} Urobinmessage.TROBinMessage.ReadFromStream + $1B
[1D240E62]{RemObjects_Core_D23.bpl} Urotransportchannel.TROTransportChannel.Dispatch + $166
[1D315C8A]{RemObjects_Core_D23.bpl} Urodynamicrequest.TRODynamicRequest.DoExecute + $17A
[5005A19C]{rtl230.bpl  } System.@FreeMem (Line 4650, "System.pas" + 20) + $0
[500619A0]{rtl230.bpl  } System.@UStrClr (Line 24673, "System.pas" + 14) + $0
[1D316A47]{RemObjects_Core_D23.bpl} Urodynamicrequest.TRODynamicRequest.Execute + $47
[1E0128ED]{DataAbstract_Core_D23.bpl} Udaremotedataadapter.TDARemoteDataAdapter.DoGetSchemaCall + $29
[1E0134CA]{DataAbstract_Core_D23.bpl} Udaremotedataadapter.TDARemoteDataAdapter.InternalReadSchema + $A2
[1E00CFE9]{DataAbstract_Core_D23.bpl} Udadataadapter.TDABaseDataAdapter.ReadSchema + $3D
[1E00BF8A]{DataAbstract_Core_D23.bpl} Udadataadapter.TDABaseDataAdapter.GetSchema + $A
[1E014F17]{DataAbstract_Core_D23.bpl} Udaremotedataadapter.TDARemoteDataAdapter.InternalFillSchema + $107
[1E00AF41]{DataAbstract_Core_D23.bpl} Udadataadapter.TDABaseDataAdapter.FillSchema + $8D
[1DFF0756]{DataAbstract_Core_D23.bpl} Udadatatable.TDADataTable.LoadSchema + $9A
[1A7A317A]{DataAbstract_IDE_D23.bpl} Udadataabstracteditors.TDADataTableEditor.ExecuteVerb + $226
[5248E68E]{vcldesigner230.bpl} VCLSurface.TVclDesignSurface.ComponentVerb (Line 2847, "VCLSurface.pas" + 3) + $B
[50AC0C6A]{vcl230.bpl  } Vcl.Menus.TMenuItem.Click (Line 2539, "Vcl.Menus.pas" + 19) + $8
[50AC2300]{vcl230.bpl  } Vcl.Menus.TMenu.DispatchCommand (Line 3461, "Vcl.Menus.pas" + 5) + $4
[50AC3572]{vcl230.bpl  } Vcl.Menus.TPopupList.WndProc (Line 4622, "Vcl.Menus.pas" + 4) + $E
[50AC34C1]{vcl230.bpl  } Vcl.Menus.TPopupList.MainWndProc (Line 4597, "Vcl.Menus.pas" + 2) + $5
[50172214]{rtl230.bpl  } System.Classes.StdWndProc (Line 16886, "System.Classes.pas" + 8) + $0
[50ADDEDD]{vcl230.bpl  } Vcl.Forms.TApplication.CancelHint (Line 11272, "Vcl.Forms.pas" + 6) + $D
[50ADCB6F]{vcl230.bpl  } Vcl.Forms.TApplication.ProcessMessage (Line 10443, "Vcl.Forms.pas" + 23) + $1
[50ADCBB2]{vcl230.bpl  } Vcl.Forms.TApplication.HandleMessage (Line 10473, "Vcl.Forms.pas" + 1) + $4
[50ADCEE5]{vcl230.bpl  } Vcl.Forms.TApplication.Run (Line 10611, "Vcl.Forms.pas" + 26) + $3

Edit: I’m not seeing any method of clearing it or directly deleting it so I’m resetting my essentially corrupted project :confused:
Edit2: I miss clicked on Retrieve DataTable Schema on project v2 and now design time has been nuked on try 2 as well -.-

I probably missed something, but why you can’t just change table.LogicalName to valid name and then press Retrieve DataTable Schema for retrieving fields?