NetTalk Central

Show Posts

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.


Messages - Poul

Pages: 1 ... 9 10 [11]
151
Web Server - Ask For Help / Re: Put text somewhere on a form
« on: June 25, 2008, 06:38:58 AM »
and once you get the hang of it you can add your own comment css class to just a single comment,  I have used that to repurpose "comments" for all kinds of things.

You could for example make it big and bold,  or depending on the layout, the comment contents does not need to be related to the field it is associated with...
I recently had a screen with many columns spanned across the form, the comments become overwhelming, so i kept the fields on the left side without,  and cherry picked  where to place the comments on the right - if you are careful it can look quite sharp as it resizes with different data/sizes etc, of course its real easy to get real ugly - both with too  much data or not enough, for that"liquid" flow  - so you must combine fixed and variable techniques.



152
Web Server - Ask For Help / Re: Put text somewhere on a form
« on: June 24, 2008, 12:44:52 PM »
You can use the Comment or Tooltips for field by field,
you can also use the subheading for certain designs to explain a form.
or add a 'display' type field and some text in amongst things...

Is that what you mean?

153
Web Server - Ask For Help / Re: Retain row after changing record?
« on: June 19, 2008, 07:44:36 AM »
"I have NT4.30, running on a SQL2005 db, with Page-Loaded browse.
It works as long as I change a record on the 1st page"



fwiw, i see the exact same thing, as well, both sql 2000/2005.
the first page works great...

some very simple (2 fields no embeds)

154
it was not trivial for me, but by using the include conditions, it can be done.

My approach was a field on the netwebform for every possiblility i wanted to expose. Include only the one the user says it is. so if it was a Date field, hide all the other variations.

Your problems will stem from updating the same value with different equates, especially if, like me you have the same fields on multiple tabs (which perhaps depending on complexity is another way to explore this?)
I solved this partly with arrays and multiple values (for dates, strings,checks etc) loaded /initialized early, and a LOT of fields entries in my netwebform, then stuffing an enormous amount of information in the sessionequeue.

You can feature creep yourself to death with this, If i was to do it again i might explore a mechanism where the users input is generating a form where nettalk tags (procedures )are used to handle the complexity for each field.

But you are now playing in Bruce's space, effectively duplicating some the same effort with a different set of tools.  On the other hand the excercise really makes you appreciate how much work has gone into nettalk. ;)


 
 

155
Web Server - Ask For Help / Re: Totally perplexed at a net tag
« on: May 15, 2008, 07:08:18 AM »
Hi mike,

a snippit from something similar i have done:

<b>Welcome Back!</br>
<!-- Net:s:ShowName-->,</b>
<br/><br/>

the part that i was going to ask Bruce about, but never have, was i belive the importance --sometimes-- of spaces,
i believe if i coded <!-- Net:s:ShowName -->,</b>
---------------------------------------------------------^-------------note the space
it would not work for me - contrary to code samples in the docs - dunno if things have changed - but this works for me ...
poul

156
Web Server - Ask For Help / Re: Filters and locaters using MSSQL
« on: May 05, 2008, 11:08:52 AM »
Hi Bruce,

I don't know if its related, but I was going to send you something, i finally figured out why my filters / locators were being unpredictable.

I am using a session value to pass the filter to a browse - and i discovered I must enclose the filter within brackets othewise the locator could create unintended results:

eg   Fld1= True or Fld2 > 0  And Locator=X
but intended   (Fld1= True or Fld2 > 0)  And Locator=X

(i suspect even a template entered filter/range limits might have the same problem, without the brackets??)

157
Web Server - Ask For Help / Re: Redirecting users to different pages
« on: November 21, 2007, 10:29:31 AM »
Hi Mike,

I have done something similar to:

packet = clip(packet) & '<script> document.location.href="'&clip(g:value)&'"; parent.frames.MenuFrame.location.reload(true);</script>'
do SendPacket
   
then exit quickly, quietly from your procedure
(you may not need /want the reload bit)

poul

158
Web Server - Ask For Help / Re: File system errors and timeouts
« on: September 12, 2007, 04:47:31 AM »
Clarion pops a message on the server and ...
quote]

If you mean a netalk file message, the message is from deep in abc and you need to hook the message, i use capesoft's messagebox  to quietly suppress.  Some messages can be supressed with the tick box on the netwebserver settings, but i have always ticked this so the only messages from the server is usually from the filemanager (much less of these lately) or ones i introduce myself.

i debug things with a message on the server which auto clears after a few seconds.

Pages: 1 ... 9 10 [11]