NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Mike Grigsby on May 18, 2008, 11:41:13 AM

Title: Copy button working in 4.31?
Post by: Mike Grigsby on May 18, 2008, 11:41:13 AM
Can't seem to get the copy button to do anything in 4.31. Is it working yet?
Title: Re: Copy button working in 4.31?
Post by: Bruce on May 19, 2008, 05:53:22 AM
Hi Mike,

yes, it should be working. It is brand-new of course, so there may be situations where it fails - but it's working in my apps  ;) .
Perhaps define "not working".
Do you see the button?
When you click it does anything happen?

oh - is your form auto-numbered or not?
If it's auto-numbered you might try forcing the auto-numbering to "early" - go to the advanced tab, you'll see a switch there about doing the auto numbering even if not necessary.

Cheers
Bruce
Title: Re: Copy button working in 4.31?
Post by: Mike Grigsby on May 19, 2008, 08:24:36 AM
Okay, I tried the "Prime Auto Inc even if not necessary". The buttons show up okay. Rather than explain what's going on with my own app, I loaded up the example app: web3.app, added the copy button both inline and on the form, set the MailboxesFormControl to Prime auto inc... and the same thing happens, Nothing shows in the form. I would expect that the value from the record I'm copying would show up in the new form.

Here's the other oddity: If I press CANCEL, it adds the record with the next SysID, but there is no value in the fields.  I've tried installing a few times. Any ideas of what else I can look for?

Title: Re: Copy button working in 4.31?
Post by: Bruce on May 20, 2008, 12:18:34 AM
Hi Mike,

I've found a small bug. You can try a simple fix there if you like.
Open \clarion6\libsrc\netweb.clw
right at the bottom are 4 lines;

    self._openfile(p_file)
    err = self._loadrecord(p_file,p_key)
    self._clearKeyFields(p_file,p_key)
    self._closefile(p_file)

The open, and close, calls should be commented out.

    !self._openfile(p_file)
    err = self._loadrecord(p_file,p_key)
    self._clearKeyFields(p_file,p_key)
    !self._closefile(p_file)

I'll make a build later today with this fix.

Cheers
Bruce
Title: Re: Copy button working in 4.31?
Post by: Mike Grigsby on May 20, 2008, 11:37:00 PM
Hi Bruce, that didn't seem to do it. Also, how often do you build pre-releases of NetTalk? Should I be downloading a new version, from the provided link, every week or few days?
Title: Re: Copy button working in 4.31?
Post by: Bruce on May 21, 2008, 12:59:44 AM
Hi Mike,

There's no fixed time between builds - it depends a bit on how badly it's broken. Since the pre-release builds are not "official builds" they don't show up in our RSS feed.

However I do update the thread in News & Views whenever I post an update. and the Pre-Release page itself is updated with the release date.

I am in the process of doing a build now, it should be there in a couple hours.

Cheers
Bruce