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 - Jeffrey Kuijt

Pages: 1 2 [3] 4 5 ... 10
31
Web Server - Ask For Help / Re: Scheduling template
« on: March 08, 2012, 04:51:36 AM »
Hi John,

Look at FullCalendar, I use it in NT5 and it's great and free!

See this thread:
http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=3180.0
Alex Kolaric has helped me on my way!

FullCalendar has been documented very well, see:
http://arshaw.com/fullcalendar/docs/

Best regards
Jeffrey

32
Web Server - Ask For Help / Re: SV PDF errors with RTF field
« on: February 19, 2012, 11:01:51 AM »
Hi

Use PDF-Tools from DocuTrack.
No problem with rtf fields at all.
Very good product, very compact pdf files and very fast.

Best regards
Jeffrey

33
CW6.3-9058 (The Best Clarion Version ever)

I fully agree!  ;)

Best regards
Jeffrey

34
Web Server - Ask For Help / Re: Return DYNAMIC packet string - How?
« on: February 10, 2012, 04:52:29 AM »

p_web.sendJSON(st.GetValue())


I get a compile error on the above line:
Field not found: SENDJSON
Unknown procedure label


I am still running with NT5.39.
Could that be the cause?

Best regards
Jeffrey

35
Web Server - Ask For Help / Re: Return DYNAMIC packet string - How?
« on: February 09, 2012, 10:57:28 AM »
Thanks Bruce!

I am so glad I bought StringTheory!
Very handy and very powerfull.

Best regards
Jeffrey

36
Web Server - Ask For Help / Re: Return DYNAMIC packet string - How?
« on: February 09, 2012, 02:33:40 AM »
Ideally you should rather use the .SendJSON method. this also takes a string of any length.
At the moment it just makes a simple call to _SendMemory, but in the longer run it may get smarter, so calling it for sending JSON text is a good idea for now.

Hi Bruce,

Using StringTheory now, very nice, BUT this line generates the error "Syntax error: No matching prototype available" during compiling:

p_web.ParseHTML(st.GetValue(),1,packetlen,Net:NoHeader)

st.GetValue() contains my JSON string.
1. How can I solve this?
2. How can I use the .SendJSON method? What syntax?

Hope you can help me. Can't any further right now

Best regards
Jeffrey

37
Web Server - Ask For Help / Re: Return DYNAMIC packet string - How?
« on: February 08, 2012, 11:45:02 PM »
Hi Bruce,

StringTheory sounds very good, so I just bought it!  ;)

Best regards
Jeffrey

38
Web Server - Ask For Help / Re: Return DYNAMIC packet string - How?
« on: February 08, 2012, 12:21:19 PM »
Thanks Alex,

Will look at it.  8)

Best regards
Jeffrey

39
Web Server - Ask For Help / Re: Return DYNAMIC packet string - How?
« on: February 08, 2012, 11:50:30 AM »
Thanks Alex,

I thought it would be better to use a dynamic sized string which is possible with StringTheory. So that my string has always the correct size and I don't have the risk that my defined string is too short.

Best regards
Jeffrey

40
Web Server - Ask For Help / Return DYNAMIC packet string - How?
« on: February 08, 2012, 10:24:57 AM »
Hi all,

I use the packet STRING to build a JSON string, but sometimes the JSON string can be very big and the packet string is at that moment too short.
So how can I dynamically return the correct sized packet string?

Should I buy StringTheory for this?
Or can it be done with normal Clarion code? How?

Best regards and thanks
Jeffrey

41
In order to create your JSON string you will loop through your TPS file and get the records for the active calendar view date range.

Hi Alex and Bruce,

I use the packet STRING to build the JSON string, but sometimes the JSON string can be very big and the packet string is at that moment too short.
So how can I dynamically return the correct sized packet string?

Best regards
Jeffrey

42
There's a p_web method to do it. I'll look up the method name in the morning.

Great, thanks!

Best regards
Jeffrey

43
   LOC:UnixStart = p_web.GetValue('start')
   LOC:UnixEnd   = p_web.GetValue('end')

Hi Alex,

Do you know how I can convert a Unix Date to a Clarion Date?

Best regards
Jeffrey

44
Hi Chris,

Yes, it did!  ;D

Best regards
Jeffrey

45
Thank you guys!

Bruce, you have made it even more simple.
Please look at the screenshot.
This works just out of the box!  ;)

So now I can use a COMMA and/or a PERIOD as decimal separator.
After accepting the field, always a PERIOD is shown as decimal separator, but that's ok for me.

Best regards
Jeffrey


[attachment deleted by admin]

Pages: 1 2 [3] 4 5 ... 10