For Programmers: Free Programming Magazines  


Home > Archive > Clipper > October 2005 > DbEdit in Summer 87









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author DbEdit in Summer 87
Mike

2005-10-13, 6:55 pm

I am tryinng to write some code that will call dbedit several times using
the same function calls (I just change the alias and pass it back into the
same dbedit. Everything works perfectly on the first set of data but the
status parameter on the second call to get completely lost and the program
crashes with a type mismatch on the userfunc case statement. (I haven't
tried the field pointer values yet) Has any one any idea why the parameter
is lost the manual states that multiple calls from with dbedit can be done.

Thanks for any input.

Mike Morrison


Mike

2005-10-13, 6:55 pm

You might need to post some code.

I have repeated calls to dbedit and no problems.

Mike M.

Mike

2005-10-14, 6:55 pm

Mike

Thanks for the reply, I have found what the problem is, the person who
created the table had a field called status and the example in the clipper
manual for userfunc has a parameter called status. The field from the table
had preference. Renaming the variable sorted the problem.

Thanks again

Mike Morrison.

P.S I think I had better change my user name to avoid confusion with you.
"Mike" <mgmurch@yahoo.com> wrote in message
news:1129242937.910120.21590@o13g2000cwo.googlegroups.com...
> You might need to post some code.
>
> I have repeated calls to dbedit and no problems.
>
> Mike M.
>



Mike

2005-10-14, 6:55 pm

Not too many S'87 questions anymore. Glad you are still putting it to
good use.

Mike Murch

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com