Clarion Ghost
Update Insert Delete Using Queries March 16, 2012 09:12AM |
DerekT <img src="images/world-s.png" class="global" alt="Global User" title="Global User" />
Re: Update Insert Delete Using Queries March 17, 2012 12:43PM |
Fabrice Harari <img src="images/world-s.png" class="global" alt="Global User" title="Global User" />
Re: Update Insert Delete Using Queries March 19, 2012 03:59PM |
DarrenF
Re: Update Insert Delete Using Queries March 19, 2012 04:27PM |
A Bonds
Re: Update Insert Delete Using Queries March 19, 2012 04:41PM |
Quote
DarrenF
For example;
Populate a table control using a query, then when a row is selected from the table control, use a Hread... command to read (and lock if required) the single instance, then Hmodify or Hdelete as appropriate.
Jimbo
Re: Update Insert Delete Using Queries March 19, 2012 05:04PM |
Moderator |
Quote
A Bonds
Quote
DarrenF
For example;
Populate a table control using a query, then when a row is selected from the table control, use a Hread... command to read (and lock if required) the single instance, then Hmodify or Hdelete as appropriate.
Does this still apply when there is distance/connection issues, like (1) where the server is in Paris and the workstation is in Los Angeles and connection is via IP over the Internet, or (2) the server is in the basement and the workstation on the second floor and the connection is gigabit Cat5e?
DarrenF
Re: Update Insert Delete Using Queries March 19, 2012 05:52PM |
Quote
Jimbo
Quote
A Bonds
Quote
DarrenF
For example;
Populate a table control using a query, then when a row is selected from the table control, use a Hread... command to read (and lock if required) the single instance, then Hmodify or Hdelete as appropriate.
Does this still apply when there is distance/connection issues, like (1) where the server is in Paris and the workstation is in Los Angeles and connection is via IP over the Internet, or (2) the server is in the basement and the workstation on the second floor and the connection is gigabit Cat5e?
Hi Art, imho yes, because there's only a single record accessed by the said h-commands. Queries, especially server based queries reduce the amount of records sent on a journey over the network compared to filters. Imho, h-commands are ok in all projects, except for filters which tend to slow down things ridiculously. Kind regards, Guenter
Paulo Oliveira
Re: Update Insert Delete Using Queries March 19, 2012 06:30PM |
A Bonds
Re: Update Insert Delete Using Queries March 19, 2012 09:22PM |
Clarion Ghost
Re: Update Insert Delete Using Queries March 23, 2012 05:00PM |
Quote
DerekT
Create a small analysis.
Run 'Full RAD' and select queries from the options available.
This will give you a start for the WD way of using queries however as you get more experience you will find different ways of using this approach.
Al <img src="images/world-s.png" class="global" alt="Global User" title="Global User" />
Re: Update Insert Delete Using Queries March 24, 2012 06:12AM |
Moderator |
DerekT <img src="images/world-s.png" class="global" alt="Global User" title="Global User" />
Re: Update Insert Delete Using Queries March 24, 2012 11:15AM |
Clarion Ghost
Re: Update Insert Delete Using Queries March 25, 2012 09:39PM |
Quote
DerekT
Ian
Seems I am living in the past (many have said that)
I have just had a look and found that what I suggested ceased to be available after version 10.
In that version it gave the option the create the app as Standard or MDI with code options for Simplified (code in windows), Procedural (based on queries) or OOP.
I have never used RAD myself but I did find this option a help in discovering the various methods available as defined by PCS.
This option was removed in later versions when the ability to design your own RAD template was introduced - my apologies for not looking before responding.
I would suggest that you get as far as you can with your window and then post specific questions to any issues you cannot resolve.
There are many on here who will be willing to give you help and guidance.