This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
181
Web Server - Share Knowledge / Showing description of lookup field on the netxt line (i.e. under de code field)
« on: October 29, 2008, 06:47:48 AM »
Hi,
For some reason, it might be handy when the description of a code is displayed Under the code field in stead of behind the code field
Here is a way I figured out how to do things without too much hassle. Describing it was more difficult than doing it.
1. I Define the lookup field (CODE:Field) like any other lookupfield.
2. As display field I use a small dummy field (like a 1 char string), just to fool the template.
3. On the client side tab I check the "send new value to server"-box.
4. In the reset-list for the form I add the REAL:DisplayField. This field can be the original display
field belonging to the CODE:Field
5. In the servercode I do: p_web.ssv('REAL:DisplayField', getCodeDesc(Code:Field))
where getCodeDesc is a function that gets the description for the code.
6. Finally I add a condition to the REAL:DisplayField, to hide it when it's blank
(p_web.gsv('REAL:DisplayField') = '' ), to prevent the description field from being shown when
there is no description.
To make sure that showing the description goes smoothly, you can also add a dummy field after
the REAL:DisplayField that has a complementary condition.
Have fun
Rene
For some reason, it might be handy when the description of a code is displayed Under the code field in stead of behind the code field
Here is a way I figured out how to do things without too much hassle. Describing it was more difficult than doing it.
1. I Define the lookup field (CODE:Field) like any other lookupfield.
2. As display field I use a small dummy field (like a 1 char string), just to fool the template.
3. On the client side tab I check the "send new value to server"-box.
4. In the reset-list for the form I add the REAL:DisplayField. This field can be the original display
field belonging to the CODE:Field
5. In the servercode I do: p_web.ssv('REAL:DisplayField', getCodeDesc(Code:Field))
where getCodeDesc is a function that gets the description for the code.
6. Finally I add a condition to the REAL:DisplayField, to hide it when it's blank
(p_web.gsv('REAL:DisplayField') = '' ), to prevent the description field from being shown when
there is no description.
To make sure that showing the description goes smoothly, you can also add a dummy field after
the REAL:DisplayField that has a complementary condition.
Have fun
Rene
182
Web Server - Ask For Help / Display Lookup description field UNDER lookup field
« on: October 22, 2008, 12:52:27 PM »
Hi,
The Lookup description fields I use are 50 char long for practical reasons.
Is it possible to put the lookup description field UNDER the lookup field ?
Rene
The Lookup description fields I use are 50 char long for practical reasons.
Is it possible to put the lookup description field UNDER the lookup field ?
Rene
183
Web Server - Ask For Help / Uppsercase setting
« on: October 19, 2008, 01:16:43 PM »
Hi,
The uppercase setting in the NetWebForm templaste maks fields uppercase as you type thenm in.
But it writes the field to the database in lowercase.
I duplicated this in example 1 . Same result
Rene Simons
The uppercase setting in the NetWebForm templaste maks fields uppercase as you type thenm in.
But it writes the field to the database in lowercase.
I duplicated this in example 1 . Same result
Rene Simons
184
Web Server - Ask For Help / self.site.RequiredText = 'whatever'
« on: October 17, 2008, 12:27:19 PM »
Hi,
When I set self.site.RequiredText to blanks,
The errormessage which appears when the required field is not filled out, is also non specific. I e "Fieldname:" with nothing behind :
Is it possible to have a workaround for this.
E.g. No "required" notification for trhe individual fields in the form but a significant notification after validation??
(I sense a new property in the make!!!!!!)
Kind regards,
Rene
When I set self.site.RequiredText to blanks,
The errormessage which appears when the required field is not filled out, is also non specific. I e "Fieldname:" with nothing behind :
Is it possible to have a workaround for this.
E.g. No "required" notification for trhe individual fields in the form but a significant notification after validation??
(I sense a new property in the make!!!!!!)
Kind regards,
Rene
185
Web Server - Ask For Help / Insert child record from parent browse
« on: October 12, 2008, 01:05:59 PM »
Hi,
This probably has been on before but I woul like to use a button in a browse, where this button starts the insert function for a child record of the browse. Best would be when there is no data shown in de URL-field of the browser.
How can I do this??
Kind regards,
Rene
This probably has been on before but I woul like to use a button in a browse, where this button starts the insert function for a child record of the browse. Best would be when there is no data shown in de URL-field of the browser.
How can I do this??
Kind regards,
Rene
186
Web Server - Ask For Help / Adding records to to a different file after insert
« on: October 07, 2008, 01:25:31 AM »
Hi,
After I do an insert to a file, I need to write an extra set of records to a different file.
Where is the best spot to put the code?
and ...
Is it right that I cannot use the access:<file>.<method> way of accessing database records when I write code?
Thanks,
Rene
After I do an insert to a file, I need to write an extra set of records to a different file.
Where is the best spot to put the code?
and ...
Is it right that I cannot use the access:<file>.<method> way of accessing database records when I write code?
Thanks,
Rene
187
Web Server - Ask For Help / Data disappears after save or cancel button 4.31
« on: May 22, 2008, 10:29:57 AM »
Hi,
I have an update form (A) with fields and a browse.
When I zoom in to a record in the browse and, after that return by clicking save or cancel, the first field in form A is blanked out, and the content of the browse is corrupted.
However data is modified OK.
The Save and Cancel buttons in the form have update form A as point of return.
What happens here???
Kind regards,
Rene
I have an update form (A) with fields and a browse.
When I zoom in to a record in the browse and, after that return by clicking save or cancel, the first field in form A is blanked out, and the content of the browse is corrupted.
However data is modified OK.
The Save and Cancel buttons in the form have update form A as point of return.
What happens here???
Kind regards,
Rene
188
Web Server - Ask For Help / Spontaneous Closing webpage
« on: March 12, 2008, 06:51:41 AM »
Hi,
Maybe this is a bit off topic but I have the following problem.
When I click a link which should open/download e.g. a pdf-document, the browser opens the document in a new browser window.
But just before I can see the contents, the browser bleeps and closes.
What can be the case here??
I guess something is wrong in the http....maybe?
Kind regards,
Rene
Maybe this is a bit off topic but I have the following problem.
When I click a link which should open/download e.g. a pdf-document, the browser opens the document in a new browser window.
But just before I can see the contents, the browser bleeps and closes.
What can be the case here??
I guess something is wrong in the http....maybe?
Kind regards,
Rene
189
Web Server - Ask For Help / Lookup
« on: August 20, 2007, 12:48:20 PM »
Hi all,
When I press the select button in a lookup browse, the browser shows a blank screen in stead of the form I was working in.
Anyone had this??
Rene
When I press the select button in a lookup browse, the browser shows a blank screen in stead of the form I was working in.
Anyone had this??
Rene
190
Web Server - Ask For Help / Retrieve procedure name
« on: August 16, 2007, 09:48:00 AM »
Hi,
Does anyone know if it is possible to retrieve the procedure name when you are in the procedure?
I need it for back-tracking purposes.
Thanks,
René
Does anyone know if it is possible to retrieve the procedure name when you are in the procedure?
I need it for back-tracking purposes.
Thanks,
René
191
Web Server - Ask For Help / Create global variable - js:capitalize STRING('capitalize(this);')
« on: August 13, 2007, 09:09:41 PM »
Hi,
In the Capitalize posts I find phrases like :
"2) Create global variable - js:capitalize STRING('capitalize(this);')" mighty interseting.
But how do I do this in Clarion?? Can anyone maybe show me a screenshot or direct me to an example on how to do this??
Thanks
Rene
In the Capitalize posts I find phrases like :
"2) Create global variable - js:capitalize STRING('capitalize(this);')" mighty interseting.
But how do I do this in Clarion?? Can anyone maybe show me a screenshot or direct me to an example on how to do this??
Thanks
Rene
192
Web Server - Ask For Help / Popup Message
« on: August 07, 2007, 12:03:13 PM »
Hi,
When I send an alert message in my webpage, the alert makes the rest of the page disappear.
Is ther anything I can do about that??
Thanks
Rene
When I send an alert message in my webpage, the alert makes the rest of the page disappear.
Is ther anything I can do about that??
Thanks
Rene
193
Web Server - Ask For Help / LOC:Required
« on: July 19, 2007, 03:56:25 AM »
Hi all,
Does anyone know how to get rid of the 'Required' notification for required fields at a global scale?
(And I don't mean making fields not required)
I worked something out at field level but that really is a lot of work.
Kind regards,
Rene Simons
Does anyone know how to get rid of the 'Required' notification for required fields at a global scale?
(And I don't mean making fields not required)
I worked something out at field level but that really is a lot of work.
Kind regards,
Rene Simons