Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / What the blood!

Author
Message
Zer0
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Canada
Posted: 3rd Jun 2005 15:05
Did something get chnaged that I wasent aware of?

I tryed calling a function from another dba file (yes its included) and it tells me I have it duplcated when I clearly do not, what is up with that?
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 3rd Jun 2005 17:09
My guess is, it's duplicated!

1. Close project and reopen. Test again

2. Ensure you only have the include specified once in the project file

3. Check for duplicates. My common mistake is copying and pasting a function, and forgetting to change the name.

BatVink
Zer0
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Canada
Posted: 3rd Jun 2005 17:18
Nope still have the same problem, I even copyed all my code to a text file and started the project over, and still no luck, make I am doing something wrong?



Here is the included file.
FROGGIE!
20
Years of Service
User Offline
Joined: 4th Oct 2003
Location: in front of my computer
Posted: 3rd Jun 2005 19:43
Try putting the functions.dba at the end of the code:

Dodo
20
Years of Service
User Offline
Joined: 8th Aug 2004
Location: eating lunch
Posted: 3rd Jun 2005 20:01
also, try calling the function using the parameters you specified. Though I don't see why you need those parameters, because your function doesn't use them

Part of solving the problem is actually noticing that the problem is there in the first place

Jake Blues
20
Years of Service
User Offline
Joined: 19th Jun 2004
Location: United States
Posted: 3rd Jun 2005 20:49
You may have included it in the project file also(.dbpro).

And change the function to this:


Zer0
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Canada
Posted: 4th Jun 2005 06:12
My function doesn't use them yet but it will.
All try what all the about sugested

Login to post a reply

Server time is: 2024-09-23 21:19:16
Your offset time is: 2024-09-23 21:19:16