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 2020-10-08 17:35:26
Re: Need Help (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 2020-10-08 05:09:53
Re: Need Help (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 2020-10-07 16:19:20
Topic: Need Help (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 2020-09-30 20:25:29
Topic: previous recovery (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.
158 2020-09-30 16:37:02
Topic: save record (4 replies, posted in General)
how can we save records if a form have components of various tables? Any project for sample?
160 2020-09-29 20:29:08
Topic: Error Message? (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 2020-09-26 17:41:19
Re: Need help for Calculated field (10 replies, posted in General)
Thank you Brain. I got an idea. Would you to tell how to get print.
162 2020-09-25 17:04:54
Re: Need help for Calculated field (10 replies, posted in General)
look at your project and what error is there.
163 2020-09-25 17:03:39
Re: Need help for Calculated field (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 2020-09-24 20:29:40
Re: Need help for Calculated field (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 2020-09-24 10:22:19
Re: Need help for Calculated field (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 2020-09-09 21:01:05
Topic: Need help for Calculated field (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 2020-09-09 20:45:50
Re: Need help. for tablegrid (2 replies, posted in General)
Thank you CDB. It works.
168 2020-08-23 13:41:54
Topic: Need help. for tablegrid (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 2020-08-23 13:33:42
Re: Need help for error message (2 replies, posted in General)
Thank you CAN To solve my problem
170 2020-08-23 05:02:22
Topic: Need help for error message (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 2020-08-20 17:13:41
Topic: combobox (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 2020-08-20 11:04:24
Topic: Need help (1 replies, posted in Script)
Hi friends
Is there a way in script for save button to save record?
173 2020-08-18 05:11:52
Re: need help for displaying data (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 2020-08-18 04:55:00
Re: show data on tablegrid (4 replies, posted in SQL queries)
Thank you all to guide me.
175 2020-08-08 17:28:23
Topic: need help for displaying data (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