151

(72 replies, posted in General)

Thank you endanger. I got much more ideas. I can add price column same way?. How to get sum/total on footer of tablegrid?

152

(72 replies, posted in General)

Thank you brain. Would you like to mention websites from where I get more detail.
My next issue is how to get print?

153

(72 replies, posted in General)

Thank you ehwagner. It is really good solution which I wanted but it created confusion. Confusion is from where a.sdate, b.sdate, b.id_Category , sales a, sales b fields come? No in any table?

154

(72 replies, posted in General)

Hi Friends,
            How are you? I am attaching a project in which I want to display no of items to be sold.On form1, there is button caption " No of Sales" I tried my best but failed to get desired result. I want to display No of sold items on each date. For example if three pens sold on a date, it must display three. Can any one help?

155

(0 replies, posted in General)

Hi Friends,
            I am developing a project about a shop where items sell on credit. How to make previous month recovery database? Plz Attached any project as sample.

156

(4 replies, posted in General)

Thank you sibprogsistem

157

(4 replies, posted in General)

on click save button?

158

(4 replies, posted in General)

how can we save records if a form have components of various tables? Any project for sample?

159

(2 replies, posted in General)

Thank you brain

160

(2 replies, posted in General)

When I try to enter new field in table, I get an error message " Database is locked" Why it i t and how solve it?

161

(10 replies, posted in General)

Thank you Brain. I got an idea. Would you to tell how to get print.

162

(10 replies, posted in General)

look at your project and what error is there.

163

(10 replies, posted in General)

Thank you brain to reply. I did what you have typed but still error. I am attaching your project look at it. Second I am attaching a pic. There is one date 9/10/2020 but result is showing separate result four time not one. I want to get the result in one time. How it will be? Obviously on this date in class one 6 students were present. So under Present heading it must be 6 not 3,1,1,1. I am sure you will understand what I want.

164

(10 replies, posted in General)

Yes it is relationship created by MVD DB Design but I receive this error message "Cannot add a REFFERENCES column with non-Null default value"

165

(10 replies, posted in General)

Thank you Brain
Would you like to tell how did you create relationship field? id_student  because I am getting error message?

166

(10 replies, posted in General)

Can any one tell how to create calculated Field using count function for specific data of a field in combobox. For Example I have a form which have a combobox which have data Class one, Class Two, Class three and so on. A field 'Class' created for combobox in a Table Attendance. Next To combobox there is Text1. Now I want to display how many student were present on a date using count function.
How it will be?

167

(2 replies, posted in General)

Thank you CDB. It works.

168

(2 replies, posted in General)

Hi friend
            There is way to fix column setting ? Intact every time when I run project I have set its columns width. Can any one help me to set columns width permanently?
Thanks

169

(2 replies, posted in General)

Thank you CAN To solve my problem

170

(2 replies, posted in General)

Hi Friend,
             How are you? Today I need your help to solve an error message. When I delete a record from tablegrid I get this message " FOREiGN KEY constrain failed" Any solution for this error?

Thanks

171

(2 replies, posted in General)

Hi Friends
                 This forum is very useful to learn. Today I need help and guide about combobox. It is ppossible to save a combobox data to different field? For example a combobox has three data a, b and c. a should save to field a, b save to b and same with other. How it is possible?
Thanks

172

(1 replies, posted in Script)

Hi friends
             Is there a way in script for save button to save record?

173

(5 replies, posted in Script)

Thank you ehwagner and brain.zaballa.
I used following statement which had given my desired result.
Tsales.TableGrid1.dbSQL:= 'SELECT `sdate` "Date",`name` "Costumer",`sitem` "Cold Drink",`svalue` "Price" FROM `sales` where sales.id_Category=6 ';
Tsales.TableGrid1.dbSQLExecute;

This statement worked very well but my problem which need to solve. I want to get more sales.id_Category= 6 , sales.id_Category= 2, sales.id_Category= 8  etc, etc
How will I type statement?
Secondly, I can I get other field of other table in same same statement.
Thank you all in advance.

174

(4 replies, posted in SQL queries)

Thank you all to guide me.

175

(5 replies, posted in Script)

Hi friend,
           Would you like to guide in a problem?
Is there way to show data on tablegrid of a table using script? For example I have project with a form, form1 and a tablegrid1 and a table sales with three columns, date, items and value. How can I show data in table sales on tablegrid1 using script.
?
Thanks