1

(5 replies, posted in General)

thank you sparrow
you're a life saver as  always

2

(5 replies, posted in General)

hi
since no one is here to help
I solved the second problem myself which shows sum of the recorded trees in the last column of the tablegrid1 in the searchform.
Please some one help me with the first problem:
1) A column of the (TableGrid1 - Searchform)  should show the name of tree as well as the number of that tree.
for example:
that column should be (20 Pine, 30 Oak)

3

(5 replies, posted in General)

thanks tcoton
My project was incomplete so I had to use a sample.
here is the realistic data you asked for
and " NO " you didn't understand what I meant
I have recorded 2 instances in the attached project.
what I want is:

1) the last column in the  first line of the TableGrid1 in the Searchform  should be 20 Pine, 30 Oak
but as you can see it only shows 20, 30

2) and after the last column I need another column that shows 50 ( sum of 20 + 30 )

Am I now clear enough?

4

(5 replies, posted in General)

Hi everyone

I have a sample Project for watering Trees which I have encountered 2 problems:

1- I need (tablegrid1 - Searchform ) Shows number of trees and also kinds of trees together: for example 20 Pine, 30 Palm

2- I need another column in  (tablegrid1 - Searchform ) to show the sum of trees in  (tablegrid1 - Mainform)

thank you guys

5

(4 replies, posted in General)

Thanks for the reply
I know that I can choose not to use cascade.
I have attached a sample.
suppose you record something wrong in a (combobox1 Mainform) and you want to delete it while keeping other data.
If I don't use cascade delete then I get an error
If I use cascade delete all the data are lost.
What I need to do is that when I delete the data in (Tablegrid1 Bank) other data that are recorded should be intact and only the data of (combobox1 Mainform) should be cleared.
Do you think it can be done using a script?
thanks a lot

6

(4 replies, posted in General)

Hi guys
First off I don't know whether its a bug or I'm doing something wrong.
Suppose you have 2 tables related to each other ( Parent - Child)
in one table you have many different entries .
one entry is a combobox related to another table.
When you choose cascade delete in the relationship filed, and then you delete the data of a combobox, all the entries for that record are deleted.
Is it possible using a script that when you choose cascade delete, only the data regarding to that specific combobox are deleted ?
Am I clear or should I attach a sample ?
thanks

7

(9 replies, posted in General)

Hi Derek
I was looking for duplicate script and came across your sample " test1a option.zip "
Its exactly what I needed for my project but with a slight modification.
What I need is that the messagebox ('Duplicate Record Found) is shown but let me choose to insert a duplicate record or not
In my project sometimes I need to add duplicate records .
Please tell me how to do this
thanks

8

(1 replies, posted in General)

Hi guys
I've just started working on a project regarding plants.
What I really need to do is to relate a checkbox in the search form to a tabsheet in the main form.
I have 3 different tabsheets in the main form ( time of watering / dung / pesticide  ) and I have 3 checkboxes in the search form related to them.
What I like the project to do is that when I check the first checkbox (e.g. water), all the data related to the (water tabsheet) are shown in the tablegrid of the search form.
Thanks alot guys for helping me out

Hi everyone
I use SQLite Expert Professional to set password for the users of a project
but when I set password, I cant enter the project and it says the password is incorrect.
Please someone tell me the password for this attached sample project and how to change it.

10

(1 replies, posted in General)

Hi guys
In my project I have 2 different textboxes (First name and Last name) which I want to show both of them in a combobox
HOW?
I have attached a sample Project somehow like my project
I need Edit 1 and Edit 2 in Form 2  are shown together in Combobox 1
thanks

11

(9 replies, posted in General)

Hi
the project that Vladimir have attached  is also what I needed.
A couple of quick questions :

1- What is the registry code and how can I find or change it?

2- Is the registry code fixed or can it be random based on each computer?

thanks a lot for the great help

12

(8 replies, posted in General)

Hi
Using the role based, I encountered a problem.
It arises when I want to change the user or in this case change between the applications.
How can I reset user (close the current form and show frmdbcoreLogin) ?

13

(8 replies, posted in General)

lots of thanks Derek for the great tip
it helped me a lot with my project

14

(8 replies, posted in General)

Thanks pavlenko.vladimir.v but that's not what I had in mind at all. the topic that you referred me to, is for just one project with different users.
let me pose the question once again:
there are 3 different MVDB projects (not users) and I want to connect them together using a form. as you can see 3 buttons in the login form are hidden , and I just need the button is clicked automatically when you enter the correct password for each project or the button is enabled  when you enter the correct password.

15

(8 replies, posted in General)

Hi
explaining this problem is going to be difficult.
in the attached sample I have 3 different users for 3 different programs.
What I need to do is that when You enter the correct password for user 1, then Button1 is clicked automatically
another approach that also works for me is:
when You enter the correct password for user 1, then Button2 and Button 3 should be disabled and only Button1 is enabled.

16

(18 replies, posted in General)

What conclusions can I make by this table?
My question still stands
How can I change password using Button1 frmMain?
the button does not work and it doesn't change the password for admin
what i need to do is that when I enter the program with admin I should be able to change admin password
and when I enter as a user I should be able to change user password
I think the script that I used is incomplete.
help me with the script please

17

(18 replies, posted in General)

thanks sparrow and k245
I explained my problem incorrectly.
in the sample that I have attached we have 2 different users with 2 different passwords.
What I'm trying to do is to change password for each user using Button1 frmMain and obviously  the password should be depended on the selected user. I should be able to set different passwords for different users
this sample is not  role-based

username: Admin     Password: admin
username: User        Password: user

18

(18 replies, posted in General)

thank you for your help
this is the sample with two different users. please check this one

19

(18 replies, posted in General)

Hi
I have posted this topic a long time ago.
" K245 " inserted a button in the MainForm to change the password.
in the role-based you can change the password from the toolbar.
is it possible that in this sample which is not a role-based access control, the change password is shown on the toolbar?
there is also another problem:
there are two users in this sample , when I change password for one user, the other user's password is also changed

20

(3 replies, posted in General)

thank you derek for your help and the great tip (Storefile , Linkfile)
that's exactly what I needed
the attached project was a sample one and when I used your script In my own project, unfortunately it doesnt work.
I attached the project again and please tell me what am I not doing right?

21

(3 replies, posted in General)

Hi everyone
in the attached project, a picture is shown for each record in Form1 but you need to click on each record for the image to be shown.
Is there anyway that the record is selected with the keyboard arrow keys and the image is shown in the (Form1, DBImage)?
thanks a lot

22

(21 replies, posted in General)

Please help guys. It's very urgent to me.
Im stuck with this issue that I cant handle.
I have attached the project and I need to know whether it is possible using scripts or other aproaches.
Thanks alot

23

(21 replies, posted in General)

Hi guys
I'd like to add another line of data to this project when it shows a person's birthday.
What I need to do is that  in the form "frmBDayList" the department of that person should also be shown.
like this:
First name   -  Last name   -    age   -  department

24

(6 replies, posted in General)

thanks Destiny for your help but that is not exactly what I need.
I developed the project and recorded many instances so I can't change the way I record them.
I wonder if it is possible to convert the checkboxes to text using a script or a SQL Query?
thanks

25

(6 replies, posted in General)

Hi everyone
I have a project that I need the checkboxes to convert to text.
What I like to do is that I record many employee's info including marital status (Married, Widow, divorced) and in one column of the tablegrid1 Form1 the project shows the marital status of that person.

first name   -   last name   - marital status
Jack                     Brown             Divorced
Sara                     Green             widow