Jump to content
mofareh

any one work in TMS Web core ?

Recommended Posts

hi ,

i have triel version of TMS Web Core for delphi ,

i want to buy it after trying

if i try to show data in webdbgride the data not showing , i use MiletusMSSQLDBDriver , MiletusClientDataSet to do that , and i but all properties

 

Share this post


Link to post

From what I remember when playing around with Miletus the settings do not work at design time. Add the fields you want to the grid, you will get an error but ignore it. In the OnCreate event of the form do something like:

  MiletusMSSQLDBDriver1.Server:='Server Name';
  MiletusMSSQLDBDriver1.DataBase:='Database Name';
  MiletusMSSQLDBDriver1.OSAuthent:=True;

  //If OSAuthent is False, you'll need to set UserName and Password:
  MiletusMSSQLDBDriver1.UserName:='';
  MiletusMSSQLDBDriver1.Password:='';

  MiletusClientDataSet1.DBDriver:=MiletusMSSQLDBDriver1;
  MiletusClientDataSet1.QueryText:='select * from Whatever;';
  MiletusClientDataSet1.IndexName:='Index Name';

  WebDataSource1.DataSet:=MiletusClientDataSet1;
  WebDBGrid1.DataSource:=WebDataSource1;

Add a TWebButton and in the OnClick Event add:

 

  MiletusClientDataSet1.Active:=True;

 

Share this post


Link to post
On 9/24/2022 at 10:28 AM, KenR said:

From what I remember when playing around with Miletus the settings do not work at design time. Add the fields you want to the grid, you will get an error but ignore it. In the OnCreate event of the form do something like:

Add a TWebButton and in the OnClick Event add:

 

 

than you for replay 

the problem is still 

 

Share this post


Link to post

I'd suggest you start out building something simple. Building something that can be wrapped in Miletus is probably the most complex thing you can start with.

 

It's like someone says, "I want to learn Delphi; I'm having trouble getting the web service to work on a Linux server that my app needs to run."

 

They have a support forum that you should be able to join and post questions. Also, check their blog for examples. 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×