Reputation: 314 Architect
- Active Posts:
- 1,873 (0.81 per day)
- 26-March 09
- Profile Views:
- Last Active:
- Yesterday, 03:34 AM
- OS Preference:
- Who Cares
- Favorite Browser:
- Favorite Processor:
- Favorite Gaming Platform:
- Your Car:
- Who Cares
- Dream Kudos:
- Expert In:
Posts I've Made
Posted 1 Aug 2015The easiest thing would be to open the report file up in Crystal if you can and look at it.
If it opens, try changing the size of the paper and give it a go.
It may be that some settings are defined in code though.
Posted 27 Jul 2015I'm not going to write code for you as I have no way of testing it.
Ensure that in your If statement, if your recordset = nothing, then call exit function to prevent further execution.
Alternatively, wrap the code that is causing you an issue to check if the recordset = nothing before trying to access the methods or properties of it.
Posted 27 Jul 2015You check higher in the function if lrsTemp1 = nothing, once you have done this maybe you should exit your function instead of letting it continue trying to access methods/properties of lrsTemp1 at the point where you indicate the error occurs.
Posted 20 Jul 2015I will ask the questions again:
1. Did you read the link provided by Andrew on how to use the AddNew method? If so, did it help? If not, why not?
2. Please post "all" the code related to this (i.e.: where do you populate the Recordset you're checking against? Where are the values coming from for your new record?)
When posting code, please use the code tags as described in the background of the reply window.
Also, you may want to have a look in the VB Tutorials section at the database tutorials in there.
People are willing to help you, but you need to answer questions when asked and provide more details if requested.
Posted 20 Jul 2015Did you look at the link posted by Andrew?
Also, as requested, please can you post all the code related to this, not just the bit you have.
That way we can see exactly what you're trying to do.
- Member Title:
- D.I.C Lover
- 44 years old
- June 12, 1971
- Programming Languages:
- C#, VB
- Website URL: