Topic: Version 3.2

Hello Dmitry

Thanks very much for this version 3.2. Great !!

And now, what are the news in your hat ?

Perhaps a Treeview (dbTreeview) ?

Thanks again

JB

Re: Version 3.2

Hello.


Unfortunately no.


- Added function HTTPPost
- Added function MessageBox
- Added Class TPrinter
- All foreign keys are being automatically updated after a table is renamed in the database.
- Optimized the record saving process, thereby improving operation speed in the network environment.
- Fixed several bugs.

Dmitry.

Re: Version 3.2

hey dmmity, great job! what does Tprinter do?

Re: Version 3.2

VascoMorais wrote:

hey dmmity, great job! what does Tprinter do?

Uses printer to print )


Example: http://myvisualdatabase.com/forum/misc. … download=1

Dmitry.

Re: Version 3.2

error

Post's attachments

Attachment icon Untitled1.png 43.28 kb, 368 downloads since 2017-02-01 

Re: Version 3.2

Hey Dmitry, this Tprint might be useful to set two different printers for different areas, looks good, but can i use it to print reports and sql reports?

Re: Version 3.2

Hello Dmitry and nice job for releasing a new version.


What is HTTPPost used for ? (well, posting data of course, but how ?)


How to use MessageBox ? Is it different from MessageDLG ?


Cheers


Mathias

I'm a very good housekeeper !
Each time I get a divorce, I keep the house

Zaza Gabor

Re: Version 3.2

VascoMorais wrote:

Hey Dmitry, this Tprint might be useful to set two different printers for different areas, looks good, but can i use it to print reports and sql reports?

No, TPrinter just for script.

Dmitry.

Re: Version 3.2

mathmathou wrote:

Hello Dmitry and nice job for releasing a new version.
What is HTTPPost used for ? (well, posting data of course, but how ?)

Different between HttpGet and HttpPost
http://stackoverflow.com/questions/3477 … st-and-get


Example of HTTPPost
http://myvisualdatabase.com/forum/misc. … download=1


mathmathou wrote:

How to use MessageBox ? Is it different from MessageDLG ?


Cheers


Mathias


MessageBox can change caption of message, and example if your Windows OS is French, buttons also will be on French.

Example:

if IDYES = MessageBox('Message', 'Caption', MB_YESNO+MB_ICONINFORMATION) then ShowMessage('Yes');

Buttons:
MB_OK
MB_OKCANCEL
MB_ABORTRETRYIGNORE
MB_YESNOCANCEL
MB_YESNO
MB_RETRYCANCEL


Results:
IDOK
IDCANCEL
IDABORT
IDRETRY
IDIGNORE
IDYES
IDNO


Icons
MB_ICONWARNING
MB_ICONINFORMATION
MB_ICONASTERISK
MB_ICONQUESTION
MB_ICONSTOP
MB_ICONERROR

Dmitry.

Re: Version 3.2

megood70 wrote:

error

It's virtual printer, unfortunately I can't to know reason of error.

Dmitry.

Re: Version 3.2

DriveSoft wrote:
VascoMorais wrote:

Hey Dmitry, this Tprint might be useful to set two different printers for different areas, looks good, but can i use it to print reports and sql reports?

No, TPrinter just for script.

Will you implement a way to choose between printers on print report?
I am building a database where you can print label stickers in the sticker printer, and A4 Reports on A4 Printer
If i could configure this at the push of a button it would be greaet

Re: Version 3.2

VascoMorais
Please download latest beta version
https://www.dropbox.com/s/xf20ksdbdgj6w … b.zip?dl=0


Set for print button mode "Quick print" (In the settings of button)



Then create event OnClick for this button, where you can specify printer's name:

procedure Form1_Button5_OnClick (Sender: string; var Cancel: boolean);
begin
    Form1.frxReport.PrintOptions.Printer := 'Microsoft XPS Document Writer';
end;
Dmitry.

Re: Version 3.2

Dimitry,

Was wondering. Did you remove the quotes in the LAST_INSERT_ID('') statement in 3.2? I was recompiling apps and discovered that having the quotes inside the parentheses produces an error now. I removed the quotes and the error went away. It's no problem. I was just curious.  Thank you.

Re: Version 3.2

ehwagner
Yes, now function LAST_INSERT_ID don't have parameter, actually the function never had parameter, parameter just  ignored.

Dmitry.