Hello,
The back story on this is rather long, but the project started in 2012 and was pieced together by me with the gracious help of Al. The project also started in QReportBuilder and am having to now drudge through updating the application again with the A5v11 Desktop Application. For reference, I've been apart from any Alpha Five Xbasic type development except for minor updates to this project over the years. I'm able to understand the documentation for the most part, but I haven't found anything yet that seems to fit the issue that I'm experiencing, thus, this post.
The client asked me to add some logic to do a currency exchange rate calculation. Therein, I created two functions and two new variables. One to replace the current if statement calculated field and pass the result of that into my other function that does the actual calculation for the exchange rate. When running the functions in the Interactive Window, everything works great. However, when I begin to attempt to add these functions into the solution, everything gets... weird. The function will work in the report run up to a certain point as well, but it breaks a bunch of items because I think it changes the reference of the calculated field that others depend on (which I'll be working on fixing).
The biggest issue I'm experiencing right now is that upon adding the functions `exchangeRateConversion(4 Parameters)` and `netInvoiceLine(5 parameters)`, Alpha Five then deletes some of the data import scripts that are crucial to importing items from Quickbooks and then wipes out a lot of the content in the other functions (or at least seems to as opening them just shows a blank white space). It also removes the QReportBuilder feel to the program and removes what the client would be familiar with in terms of running the report with the "favorited" items.
I'm at a bit of a loss right now so any guidance or assistance to help me understand why adding two functions is seemingly trashing the program, I'd be very grateful.
Thank you,
Elijah
The back story on this is rather long, but the project started in 2012 and was pieced together by me with the gracious help of Al. The project also started in QReportBuilder and am having to now drudge through updating the application again with the A5v11 Desktop Application. For reference, I've been apart from any Alpha Five Xbasic type development except for minor updates to this project over the years. I'm able to understand the documentation for the most part, but I haven't found anything yet that seems to fit the issue that I'm experiencing, thus, this post.
The client asked me to add some logic to do a currency exchange rate calculation. Therein, I created two functions and two new variables. One to replace the current if statement calculated field and pass the result of that into my other function that does the actual calculation for the exchange rate. When running the functions in the Interactive Window, everything works great. However, when I begin to attempt to add these functions into the solution, everything gets... weird. The function will work in the report run up to a certain point as well, but it breaks a bunch of items because I think it changes the reference of the calculated field that others depend on (which I'll be working on fixing).
The biggest issue I'm experiencing right now is that upon adding the functions `exchangeRateConversion(4 Parameters)` and `netInvoiceLine(5 parameters)`, Alpha Five then deletes some of the data import scripts that are crucial to importing items from Quickbooks and then wipes out a lot of the content in the other functions (or at least seems to as opening them just shows a blank white space). It also removes the QReportBuilder feel to the program and removes what the client would be familiar with in terms of running the report with the "favorited" items.
I'm at a bit of a loss right now so any guidance or assistance to help me understand why adding two functions is seemingly trashing the program, I'd be very grateful.
Thank you,
Elijah
Comment