There is a typo on your line a ")" instead of a "}"
c.model like '%{edit9)%' or
My Visual Database → Posts by tcoton
There is a typo on your line a ")" instead of a "}"
c.model like '%{edit9)%' or
Could you please explain a little bit more about the improvements. I see no difference in using this version compared to 2.1.
I guess it is a bug due to too many "OR" conditions. I tried the same query with different values and it always works in SQLStudio.
Did you try left join instead of searching in all tables at once?
The SQL query executes properly in SQLStudio. For some reason, the very same query does not work in the project.
Thank you Dmitry,
it is all about syntax. I thought we could use AND clause between if and else but it is not the case.
It works.
It does not work, it is expecting a ";" after the color code forever which already exists
Thanks for the example Dmitry, I had to stare at it several times to figure out that I was not talking about the same kind of Hint. I was talking about the hint into textboxes or comboboxes.
Is there a way to possibly set 2 status on a condition without multiplying the number of script lines?
For instance I would like to set a field to read only if content <>0 AND being grayed out.
I managed to set the textbox to read only, how to set the background to grey (color := $003333FF) on same code line ?
Current code is:
if Admin.Edit_typ.Text<>'' then Admin.Edit_typ.ReadOnly := True else Admin.Edit_typ.ReadOnly := False;
I tried to add
AND Admin.Edit_typ.color := $003333FF
before
else
without success.
Both actually, using version 2.1
Actually, I did not understand how to implement it. I copied the code from here and I see no difference whichever method I choose...
The way I add a picture in a post is to get the link without "&preview" to the attachment once published --> edit post
Oh my god, the picture is huge!!
From my personal observation, there is no dynamism in the form so when you resize a form, you only move the external borders, that's it.
To change the background of a panel, select the form and change the property BgColor.
we do not see your screenshots, there are not properly linked or we do not have permission to read them from where they are stored.
Oh great, OpenCalendar does the trick, thanks a lot.
@Derek, I am running Windows 7 & 10...
Hi Derek,
thanks for the tip but unfortunately, it does not seem to work with the DateTimePicker object. It does not change color
Just a comment using version 2.1, focus on the object is not obvious at all. This is just cosmetics but a user could not spot which field is required.
Thank you Dmitry, I really need to dive into Delphi scripting as it is still not that obvious to me
Hi all,
I am struggling finding a way to force a field to be mandatory on a condition.
I would like to set a date picker to become mandatory when a specific choice in a combobox is selected.
e.g:
My combobox Status has many choices but on choice with id = '4' , I want to force the user to set a Return date otherwise other scripts do not work properly.
Displaying a message would not suffice... we all know users
Any idea welcome.
Click on your name in a discussion.... or click on "Profile" at the top
Explore the features and use "Search" at the top
Myvisualdatabase uses SQLite and starting from version 2.03, you can also use MySQL.
When you want to get notified for a post, you just have to click on "Subscribe" or tick the checkbox "Subscribe to the post" when posting a new topic
To see full list of a member, click on his name ...
I would suggest to avoid writing your topic full in bold or capital letters in a forum this is not welcome.
AAaaaaah Ok, sorry I do have European regional setting, that's why
My Visual Database → Posts by tcoton
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi