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.


Topics - Mike Grigsby

Pages: [1] 2 3 ... 9
1
I'm filtering a browse (I'm using a bit of short hand here, because I actually do this in the browse filter loop embed), but I need to evaluate if a member type is an "a" or a "m", then show records that are not disabled but have been vetted by the administrator.

So this works:

'USE:MemberType=''m'' AND USE:Vetted=''1'' AND USE:Disabled=''0'''

But I need to check two member types, and this does not work:

'USE:MemberType=''m'' OR USE:MemberType=''a'' AND USE:Vetted=''1'' AND USE:Disabled=''0'''

I can't get my head around it. I can't figure out how to isolate the OR. Thanks in advance.

2
Web Server - Ask For Help / Niggling problem with FreeImage for Clarion
« on: November 19, 2013, 08:24:31 AM »
First, I don't think there is a FreeImage forum for Clarion users is there?

I am creating a thumbnail image (so it displays properly in the space allocated on my browse).  So in the form, I have the following code, but it creates a really fuzzy image (not sharp). Does anyone know of a solution for this? I have played with the filters a bit, and it doesn't seem to help. Thanks!

  If p_web.GetValue('USE:PortraitImage')
    If ThumbImage.iImage.Load(clip(p_web.site.WebFolderPath)  & '\' & p_web.GetValue('USE:PortraitImage'))
      ThumbImage.iImage.Thumbnail(220, FILTER_BSPLINE)
      ThumbImage.iImage.SaveAs(clip(p_web.site.WebFolderPath) & '\' & p_web.GetValue('USE:PortraitImage'))
      p_web.SetValue('USE:PortraitImage',p_web.GetValue('USE:PortraitImage'))
      USE:PortraitImage = p_web.GetValue('USE:PortraitImage')
    End
  end

3
Web Server - Ask For Help / Clarion FreeImage documentation?
« on: August 02, 2013, 07:46:48 PM »
I have just switched over my NetTalk Web apps from ImageEx to Clarion FreeImage, just because it's a little cleaner. But I can't seem to find documentation to tell me what I can do with FreeImage for Clarion.

I used some code Bruce put up to create a thumbnail, but it doesn't really give me the control over producing an image of a specific size.

For example, I need to resize all images to 480 wide and have the height proportional, but I can't seem to get where to do that in the actual FreeImage docs, since they are not Clarion specific. Anyone know if there is actual Clarion template/code docs/help, or how to manage this specific example? Thanks!

4
Web Server - Ask For Help / Backslashes to front slash
« on: February 24, 2013, 06:55:16 PM »
I can't for the life of me recall how to submit a path to the object and have it returned with front slashes. I can build my own, but thought I should know for future use. Do you happen to recall? Thank you!


5
Web Server - Ask For Help / Filter child browse
« on: January 24, 2013, 12:36:08 AM »
Dont know why I am so challenged by this, but I have a parent browse (category) with. Child browse (person) as a child, and appears on the right. What is the right approach for filtering the child with just the category selected on the parent form?

6
Web Server - Ask For Help / Make button into link
« on: January 22, 2013, 01:07:03 PM »
Hi all, I can't for the life of me remember how to make a button appear as a link. I was thinking it was p_web.site. something.

Anyone know off hand? Thank you!

Mike Grigsby
Credify.com

7
Not that I'm leaving Clarion and Nettalk, but my need for a pure mobile apps for Android and Ios on phones and tablets is intensifying. I need to link my apps to mobile and offline use.

Are there any dev apps or environments like Clarion for mobile, or any news Ive missed about SV moving in this direction?

8
Web Server - Ask For Help / Deleting images with record
« on: September 14, 2012, 08:01:13 AM »
I've been putting off dealing with deleting images associated with a client's record.

I delete the record, but I believe the pointer to the image is a URL type pointer, not a Windows pointer.

1. Do I need to also store the Windows path with the record, or build a routine to convert it to a useful Windows path?

2. My biggest problem is finding an embed point to do the delete before the record and its path info is gone.

Thanks in advance for any ideas.

9
Web Server - Ask For Help / Importing procedure duplicating extensions.
« on: August 24, 2012, 09:20:02 PM »
I know this isnt nettalk specific, but when i import a procedure from another app, into my current app, it duplicates the nettalk and other extensions, like winevent, and doesnt allow me to delete the duplicate.

How can i get around this?

10
This is not NTWS so much, but I'm rusty on my report writing when it comes to breaking to a new page.

I'm creating a report of 10 pages (for example). It will use a single record, and give some data on each page, but will also analyze data and create graphs and charts to give a management report to the user.

I am unclear on how to put data onto a detail, then cause it to break to a new page, and create more data from the same record. There is no data to break on really.

I have thought about just stringing together multiple procedures to print the report, but it wouldn't all show up on a single PDF doc in the browser. Thanks for any guidance!

11
Web Server - Ask For Help / What value to store in lookup
« on: March 14, 2012, 12:31:06 AM »
I'm having some problems with a form storing a field from another file. The example is like an invoice where I select the vendor (a parent) from a select popup browse. I have asked it to display the vendor name instead of the unique sysid. Looks great, but when I go back into the form after saving the record, there is no value at all. Is there anything I should be doing in order to use this functionality? The records are related in the dictionary.

12
Web Server - Ask For Help / Stop menu on left from scrolling
« on: March 13, 2012, 12:27:09 PM »
I've got a menu on the left, as ripped off from the accounting example. The problem is I have enough menu items under one section that it causes that section to scroll. I'm not seeing where I can tell the menu main section to open completely without a scrollbar.

Example (where the V is the main section that expands and contracts), when opening the Setup section, the first three menu items appear, but on the rest, I have to use the scroll bar to get to them. I'd rather that when Setup was opened, all the sub menu items appeared:

V  Home
V  Setup
  Location
  Categories
  States
  Labels
  Blah
  Blah
  Blah
V  Main Stuff
V Reports

13
Web Server - Ask For Help / Upload File Example 26 not displaying image
« on: February 19, 2012, 08:03:08 PM »
Sorry, still finishing a project on NTWS 5. On the Upload file example, it has a HotImage procedure called from the browse. Sometimes it works, and sometimes it doesn't. Mostly does not. Any ideas on why?

I duplicated it on my own app, and was having trouble, so I went back to example 26 (I think), and it isn't working reliably either. Thanks for any ideas. I just need a means of displaying my record's picture next to each line.

14
Web Server - Ask For Help / Embeds for image processing
« on: January 24, 2012, 08:19:09 PM »
I'm still a full version of NTWS behind, but having jumped to v.5, can anyone offer guidance on these questions:

1. Where is the best place (both proc and embed point) to resize an uploaded image. I could use ClarionFreeImage, but I happen to be using ImageEx3 (I don't think it matters particularly). But I'm having embed point troubles.

2. In using the webhandler to rename the file to include the date and time stamp, where is the first embed point that I can grab the name assigned by the webhandler proc?

3. If a user deletes the record, where is the best embed to first grab the image file pathname from my update procedure, and delete the image files before the record itself is deleted?

Thanks for any insights.

Mike Grigsby
Credify Systems

15
Web Server - Ask For Help / Problem compiling with new Win7 install
« on: January 08, 2012, 07:25:54 PM »
Sorry to ask for help here, but I brought my system over to Windows 7 Ultimate. It worked fine for awhile, but now when I compile, I get "Syntax Error, Unknown Function Label" on all the Clarion functions, like Clip, Open, Choose, Set, etc.

I reinstalled Clarion 6, thinking it was a path problem with Win7 or something, but the examples wouldn't compile either. I had it working briefly, after originally migrating. What might I be missing? I assume it must be a Win7 thing. Anyone run into this? Thanks so much in advance. I am so stuck.

Pages: [1] 2 3 ... 9