Alpha Video Training
Results 1 to 8 of 8

Thread: What is wrong with th is?????

  1. #1
    Member
    Real Name
    Edward Schulz
    Join Date
    Jul 2000
    Posts
    742

    Default What is wrong with th is?????

    Hi Phorum,

    Hmmmmmmmm ... this thing has me baffled. This code is on the "ondepart" event of the last field on the form to be entered. Needless to say I can't make it work. Hopefully someone out there will spot my booboo.

    I'll be eternally grateful for any help,
    efs

  2. #2
    Member
    Real Name
    Edward Schulz
    Join Date
    Jul 2000
    Posts
    742

    Default RE: What is wrong with th is?????

    Hi Guys,

    Temporarily, I removed the if statement and now it says the line; .... :jobenter:holmltcalc.refresh() is "incorrect data type. This is the first sign of life from this code. BTW all fields with the exception of time are numeric.

    L8R G8RZ

  3. #3
    "Certified" Alphaholic Stan Mathews's Avatar
    Real Name
    Stan Mathews
    Join Date
    Apr 2000
    Location
    Bowling Green, KY
    Posts
    25,119

    Default RE: What is wrong with th is?????

    What code?????

  4. #4
    Member
    Real Name
    Edward Schulz
    Join Date
    Jul 2000
    Posts
    742

    Default RE: What is wrong with th is?????

    Don't know why the attachment didn't show up, here it is again.

    Ed

  5. #5
    "Certified" Alphaholic Stan Mathews's Avatar
    Real Name
    Stan Mathews
    Join Date
    Apr 2000
    Location
    Bowling Green, KY
    Posts
    25,119

    Default RE: What is wrong with th is?????

    I don't find any obvious errors in the code so the problem is likely a spelling/naming problem. Your code refers to many pairs of table fields and form fields with the same names, for example tbl.holmltcalc and :jobenter:holmltcalc. Have you checked to make sure these names are "really" the same? They should be but can vary if much cut-paste duplication is done on the form.

  6. #6
    Member
    Real Name
    Edward Schulz
    Join Date
    Jul 2000
    Posts
    742

    Default RE: What is wrong with th is?????

    Thank you Stan, I'll check again.
    ED

  7. #7
    "Certified" Alphaholic Stan Mathews's Avatar
    Real Name
    Stan Mathews
    Join Date
    Apr 2000
    Location
    Bowling Green, KY
    Posts
    25,119

    Default RE: What is wrong with th is?????

    Just found an example of this on one of my forms when I resurrected an old hidden button. Long since changed one variable's form name, actually made two new variables, but the button code still referred to the old name.

    Pressing the button gave the "incorrect data type" error when it tried to refresh a form field no longer there.

  8. #8
    Member
    Real Name
    Edward Schulz
    Join Date
    Jul 2000
    Posts
    742

    Default RE: What is wrong with th is?????

    Hi Stan,

    Vewwy intwestink. Since most of those fields have been changed lately, I better have a closer look.

    Thank you,
    Ed

Similar Threads

  1. So...what's wrong with this?
    By GregOnline in forum Alpha Five Version 5
    Replies: 3
    Last Post: 10-07-2003, 02:34 PM
  2. WHAT am I doing Wrong?
    By Ronald Anusiewicz in forum Alpha Five Version 5
    Replies: 1
    Last Post: 05-09-2003, 09:16 PM
  3. What is Wrong Here?
    By Peter DeBilio in forum Alpha Five Version 5
    Replies: 1
    Last Post: 02-06-2003, 03:24 PM
  4. Something is wrong
    By Ken Penge in forum Alpha Five Version 4
    Replies: 15
    Last Post: 07-19-2002, 09:45 PM
  5. what am i doing wrong?
    By Edward F. Schulz in forum Alpha Five Version 4
    Replies: 4
    Last Post: 04-01-2002, 02:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •